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 | dd33a3df1027e3aa5f89935c54749c3ace68eea7 (patch) | |
tree | 498aff0de327220aa483fe01052535e826296578 /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts | |
parent | 83b91e17b2d8eb7d05c6a07a43fe94b3bec18a5e (diff) | |
download | timeline-dd33a3df1027e3aa5f89935c54749c3ace68eea7.tar.gz timeline-dd33a3df1027e3aa5f89935c54749c3ace68eea7.tar.bz2 timeline-dd33a3df1027e3aa5f89935c54749c3ace68eea7.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); - }); - })); }); |