Skip to content

Commit 228446e

Browse files
committed
fix(grid): add tick to test
1 parent 7830f36 commit 228446e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projects/angular/components/ui-grid/src/ui-grid.component.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,6 +1055,8 @@ describe('Component: UiGrid', () => {
10551055

10561056
expect(headerSelectionAction).toBeFalsy();
10571057
expect((grid.selectionManager as any)._hasValue$.getValue()).toBe(false);
1058+
tick(100);
1059+
discardPeriodicTasks();
10581060
}));
10591061

10601062
it('should be able to move focus to selection action button if at least one row is selected', () => {

0 commit comments

Comments
 (0)