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
commitbb537be81802998820b9ee07d7d887d4bd5c0665 (patch)
tree498aff0de327220aa483fe01052535e826296578 /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
parent83b91e17b2d8eb7d05c6a07a43fe94b3bec18a5e (diff)
parentdd33a3df1027e3aa5f89935c54749c3ace68eea7 (diff)
downloadtimeline-bb537be81802998820b9ee07d7d887d4bd5c0665.tar.gz
timeline-bb537be81802998820b9ee07d7d887d4bd5c0665.tar.bz2
timeline-bb537be81802998820b9ee07d7d887d4bd5c0665.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);
- });
- }));
});