Skip to content

Commit 042ed83

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Add detectChanges to test.
1 parent 075efa1 commit 042ed83

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
@@ -34,7 +34,7 @@ describe('IgxSplitter', () => {
3434
const secondPane = splitter.panes.toArray()[1].element;
3535
expect(firstPane.textContent.trim()).toBe('Pane 1');
3636
expect(secondPane.textContent.trim()).toBe('Pane 2');
37-
37+
fixture.detectChanges();
3838
const splitterBar = fixture.debugElement.query(By.css(SPLITTERBAR_CLASS)).nativeElement;
3939
expect(firstPane.style.order).toBe('0');
4040
expect(splitterBar.style.order).toBe('1');

0 commit comments

Comments
 (0)