Skip to content

Commit b5bdcf1

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Add detectChanges to test.
1 parent ac78c2b commit b5bdcf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/splitter/splitter.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('IgxSplitter', () => {
3333
const secondPane = splitter.panes.toArray()[1].element;
3434
expect(firstPane.textContent.trim()).toBe('Pane 1');
3535
expect(secondPane.textContent.trim()).toBe('Pane 2');
36-
36+
fixture.detectChanges();
3737
const splitterBar = fixture.debugElement.query(By.css(SPLITTERBAR_CLASS)).nativeElement;
3838
expect(firstPane.style.order).toBe('0');
3939
expect(splitterBar.style.order).toBe('1');

0 commit comments

Comments
 (0)