Skip to content

Commit

Permalink
test(search): make beforeEach async #3519
Browse files Browse the repository at this point in the history
  • Loading branch information
DiyanDimitrov committed Jan 22, 2019
1 parent a47a512 commit 05ebdb6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ describe('IgxTreeGrid - search API', () => {
});

describe('Scrollable TreeGrid', () => {
beforeEach(() => {
beforeEach(async() => {
fix = TestBed.createComponent(IgxTreeGridSummariesScrollingComponent);
fix.detectChanges();
fixNativeElement = fix.debugElement.nativeElement;
Expand All @@ -297,6 +297,7 @@ describe('IgxTreeGrid - search API', () => {
treeGrid.height = '400px';
treeGrid.columns[3].hasSummary = false;
fix.detectChanges();
await wait(16);
});

const expectedValues = ['Andrew', 'Janet', 'Anne', 'Danielle', 'Callahan', 'Jonathan',
Expand Down

0 comments on commit 05ebdb6

Please sign in to comment.