Skip to content

Commit 1df73d6

Browse files
AAwoutersybnd
authored andcommitted
120243: Fix test without spec
1 parent 540cb86 commit 1df73d6

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/app/header/context-help-toggle/context-help-toggle.component.spec.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,9 @@ describe('ContextHelpToggleComponent', () => {
5656
});
5757

5858
it('clicking the button should toggle context help icon visibility', fakeAsync(() => {
59-
fixture.whenStable().then(() => {
60-
fixture.debugElement.query(By.css('a')).nativeElement.click();
61-
tick();
62-
expect(contextHelpService.toggleIcons).toHaveBeenCalled();
63-
});
59+
fixture.debugElement.query(By.css('a')).nativeElement.click();
60+
tick();
61+
expect(contextHelpService.toggleIcons).toHaveBeenCalled();
6462
}));
6563
});
6664

0 commit comments

Comments
 (0)