Skip to content

Commit 05b614c

Browse files
committed
fix: move detectChanges call in tree spec to include trackBy (#15414)
1 parent 94a9d70 commit 05b614c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cdk/tree/tree.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,8 @@ describe('CdkTree', () => {
782782
fixture = TestBed.createComponent(NestedCdkTreeAppWithTrackBy);
783783
component = fixture.componentInstance;
784784
component.trackByStrategy = trackByStrategy;
785+
fixture.detectChanges();
786+
785787
dataSource = component.dataSource as FakeDataSource;
786788
fixture.detectChanges();
787789

0 commit comments

Comments
 (0)