File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -343,10 +343,10 @@ describe('CdkTree', () => {
343
343
function createTrackByTestComponent ( trackByStrategy : 'reference' | 'property' | 'index' ) {
344
344
configureCdkTreeTestingModule ( [ CdkTreeAppWithTrackBy ] ) ;
345
345
fixture = TestBed . createComponent ( CdkTreeAppWithTrackBy ) ;
346
- fixture . detectChanges ( ) ;
347
-
348
346
component = fixture . componentInstance ;
349
347
component . trackByStrategy = trackByStrategy ;
348
+ fixture . detectChanges ( ) ;
349
+
350
350
dataSource = component . dataSource as FakeDataSource ;
351
351
tree = component . tree ;
352
352
treeElement = fixture . nativeElement . querySelector ( 'cdk-tree' ) ;
@@ -758,10 +758,10 @@ describe('CdkTree', () => {
758
758
function createTrackByTestComponent ( trackByStrategy : 'reference' | 'property' | 'index' ) {
759
759
configureCdkTreeTestingModule ( [ NestedCdkTreeAppWithTrackBy ] ) ;
760
760
fixture = TestBed . createComponent ( NestedCdkTreeAppWithTrackBy ) ;
761
- fixture . detectChanges ( ) ;
762
-
763
761
component = fixture . componentInstance ;
764
762
component . trackByStrategy = trackByStrategy ;
763
+ fixture . detectChanges ( ) ;
764
+
765
765
dataSource = component . dataSource as FakeDataSource ;
766
766
767
767
tree = component . tree ;
You can’t perform that action at this time.
0 commit comments