Skip to content

Commit c722f74

Browse files
committed
fix(grid): add tick to test
1 parent 6adb264 commit c722f74

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
@@ -1091,6 +1091,8 @@ describe('Component: UiGrid', () => {
10911091

10921092
expect(headerSelectionAction).toBeFalsy();
10931093
expect((grid.selectionManager as any)._hasValue$.getValue()).toBe(false);
1094+
tick(100);
1095+
discardPeriodicTasks();
10941096
}));
10951097

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

0 commit comments

Comments
 (0)