aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-02-23 16:25:34 +0000
committer杨宇千 <crupest@outlook.com>2019-02-23 16:25:34 +0000
commit5f3d6353e8e26879c538c272a151658fe38e0fca (patch)
treea279afb37f6b0aa59a319cf7a897783d414a9876 /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
parent77afb5d67a8bf7d34cae74f29549d85d327ea4a7 (diff)
parent327646c7480e3e21b723e91a90d7b8fdcb5f050a (diff)
downloadtimeline-5f3d6353e8e26879c538c272a151658fe38e0fca.tar.gz
timeline-5f3d6353e8e26879c538c272a151658fe38e0fca.tar.bz2
timeline-5f3d6353e8e26879c538c272a151658fe38e0fca.zip
Merged PR 7: Update unit tests.
Update unit tests. Related work items: #6
Diffstat (limited to 'Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts')
-rw-r--r--Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts b/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
index 9543f7ad..590c5ef0 100644
--- a/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
+++ b/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
@@ -68,14 +68,4 @@ describe('TodoListPageComponent', () => {
fixture.detectChanges();
expect(fixture.debugElement.query(By.css('mat-progress-bar'))).toBeFalsy();
}));
-
- it('should set href on item title', fakeAsync(() => {
- fixture.detectChanges();
- tick();
- fixture.detectChanges();
-
- fixture.debugElement.queryAll(By.css('a.item-title')).forEach((element, index) => {
- expect(element.properties['href']).toBe(mockWorkItems[index].detailUrl);
- });
- }));
});