test(core): update query-specific tests in core (#30626)

PR Close #30626
This commit is contained in:
Kara Erickson
2019-05-22 21:05:26 -07:00
committed by Jason Aden
parent 214ae0ea4c
commit faac51fd2e
3 changed files with 44 additions and 41 deletions

View File

@ -83,13 +83,13 @@ class Simple {
@Component({selector: 'view-child-type-selector', template: ''})
class ViewChildTypeSelectorComponent {
// TODO(issue/24571): remove '!'.
@ViewChild(Simple) child !: Simple;
@ViewChild(Simple, {static: false}) child !: Simple;
}
@Component({selector: 'view-child-string-selector', template: ''})
class ViewChildStringSelectorComponent {
// TODO(issue/24571): remove '!'.
@ViewChild('child') child !: ElementRef;
@ViewChild('child', {static: false}) child !: ElementRef;
}
@Component({selector: 'view-children-type-selector', template: ''})