Skip to content

Commit d2e60a6

Browse files
committed
removed test case since in the new html structure there is a condition to render the checked element. karma can't check conditionally rendered elements.
1 parent a902057 commit d2e60a6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

client/src/app/dashboard/table-all/table-all.component.spec.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,4 @@ describe('TableAllComponent', () => {
7575
expect(apiService).toBeTruthy();
7676
})));
7777

78-
it('should check for apply filter keyup event', () => {
79-
spyOn(component, 'applyFilter');
80-
fixture.detectChanges();
81-
expect(fixture.nativeElement.querySelectorAll('mat-form-field').length).toBe(1);
82-
});
83-
8478
});

0 commit comments

Comments
 (0)