Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
try adding ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackbaud-StewartStephens committed Jul 2, 2018
1 parent f3788de commit 3e78169
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/modules/flyout/flyout.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,11 @@ describe('Flyout component', () => {
const primaryActionButton = getPrimaryActionButtonElement();
expect(primaryActionButton).toBeTruthy();
primaryActionButton.click();

// let the close message propagate
applicationRef.tick();
tick();

expect(primaryActionInvoked).toBe(true);
})
);
Expand Down

0 comments on commit 3e78169

Please sign in to comment.