diff options
author | crupest <crupest@outlook.com> | 2019-02-24 00:14:59 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-02-24 00:14:59 +0800 |
commit | 327646c7480e3e21b723e91a90d7b8fdcb5f050a (patch) | |
tree | a279afb37f6b0aa59a319cf7a897783d414a9876 /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts | |
parent | 77afb5d67a8bf7d34cae74f29549d85d327ea4a7 (diff) | |
download | timeline-327646c7480e3e21b723e91a90d7b8fdcb5f050a.tar.gz timeline-327646c7480e3e21b723e91a90d7b8fdcb5f050a.tar.bz2 timeline-327646c7480e3e21b723e91a90d7b8fdcb5f050a.zip |
Update unit tests.
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.ts | 10 |
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); - }); - })); }); |