test: clean up explicit dynamic query usages (#33015)
Cleans up all the places where we explicitly set `static: false` on queries. PR Close #33015
This commit is contained in:
@ -178,7 +178,7 @@ import {el} from '../../testing/src/browser_util';
|
||||
})
|
||||
class Cmp {
|
||||
exp: any;
|
||||
@ViewChild('elm', {static: false}) public element: any;
|
||||
@ViewChild('elm') public element: any;
|
||||
}
|
||||
|
||||
TestBed.configureTestingModule({
|
||||
@ -223,11 +223,11 @@ import {el} from '../../testing/src/browser_util';
|
||||
exp2: any = true;
|
||||
exp3: any = true;
|
||||
|
||||
@ViewChild('elm1', {static: false}) public elm1: any;
|
||||
@ViewChild('elm1') public elm1: any;
|
||||
|
||||
@ViewChild('elm2', {static: false}) public elm2: any;
|
||||
@ViewChild('elm2') public elm2: any;
|
||||
|
||||
@ViewChild('elm3', {static: false}) public elm3: any;
|
||||
@ViewChild('elm3') public elm3: any;
|
||||
}
|
||||
|
||||
TestBed.configureTestingModule({
|
||||
|
@ -51,7 +51,7 @@ import {el} from '../../testing/src/browser_util';
|
||||
template: '...',
|
||||
})
|
||||
class Cmp {
|
||||
@ViewChild('target', {static: false}) public target: any;
|
||||
@ViewChild('target') public target: any;
|
||||
|
||||
constructor(public builder: AnimationBuilder) {}
|
||||
|
||||
|
Reference in New Issue
Block a user