@@ -99,7 +99,7 @@ export function main() {
9999 tcb . createAsync ( ChildComp ) . then ( ( componentFixture ) => {
100100 componentFixture . detectChanges ( ) ;
101101
102- expect ( componentFixture . debugElement . nativeElement ) . toHaveText ( 'Original Child' ) ;
102+ expect ( componentFixture . nativeElement ) . toHaveText ( 'Original Child' ) ;
103103 async . done ( ) ;
104104 } ) ;
105105 } ) ) ;
@@ -109,11 +109,11 @@ export function main() {
109109
110110 tcb . createAsync ( MyIfComp ) . then ( ( componentFixture ) => {
111111 componentFixture . detectChanges ( ) ;
112- expect ( componentFixture . debugElement . nativeElement ) . toHaveText ( 'MyIf()' ) ;
112+ expect ( componentFixture . nativeElement ) . toHaveText ( 'MyIf()' ) ;
113113
114- componentFixture . debugElement . componentInstance . showMore = true ;
114+ componentFixture . componentInstance . showMore = true ;
115115 componentFixture . detectChanges ( ) ;
116- expect ( componentFixture . debugElement . nativeElement ) . toHaveText ( 'MyIf(More)' ) ;
116+ expect ( componentFixture . nativeElement ) . toHaveText ( 'MyIf(More)' ) ;
117117
118118 async . done ( ) ;
119119 } ) ;
@@ -126,7 +126,7 @@ export function main() {
126126 . createAsync ( MockChildComp )
127127 . then ( ( componentFixture ) => {
128128 componentFixture . detectChanges ( ) ;
129- expect ( componentFixture . debugElement . nativeElement ) . toHaveText ( 'Mock' ) ;
129+ expect ( componentFixture . nativeElement ) . toHaveText ( 'Mock' ) ;
130130
131131 async . done ( ) ;
132132 } ) ;
@@ -140,7 +140,7 @@ export function main() {
140140 . createAsync ( ChildComp )
141141 . then ( ( componentFixture ) => {
142142 componentFixture . detectChanges ( ) ;
143- expect ( componentFixture . debugElement . nativeElement ) . toHaveText ( 'Modified Child' ) ;
143+ expect ( componentFixture . nativeElement ) . toHaveText ( 'Modified Child' ) ;
144144
145145 async . done ( ) ;
146146 } ) ;
@@ -153,7 +153,7 @@ export function main() {
153153 . createAsync ( ParentComp )
154154 . then ( ( componentFixture ) => {
155155 componentFixture . detectChanges ( ) ;
156- expect ( componentFixture . debugElement . nativeElement ) . toHaveText ( 'Parent(Mock)' ) ;
156+ expect ( componentFixture . nativeElement ) . toHaveText ( 'Parent(Mock)' ) ;
157157
158158 async . done ( ) ;
159159 } ) ;
@@ -168,7 +168,7 @@ export function main() {
168168 . createAsync ( ParentComp )
169169 . then ( ( componentFixture ) => {
170170 componentFixture . detectChanges ( ) ;
171- expect ( componentFixture . debugElement . nativeElement )
171+ expect ( componentFixture . nativeElement )
172172 . toHaveText ( 'Parent(Original Child(ChildChild Mock))' ) ;
173173
174174 async . done ( ) ;
@@ -183,7 +183,7 @@ export function main() {
183183 . createAsync ( TestBindingsComp )
184184 . then ( ( componentFixture ) => {
185185 componentFixture . detectChanges ( ) ;
186- expect ( componentFixture . debugElement . nativeElement )
186+ expect ( componentFixture . nativeElement )
187187 . toHaveText ( 'injected value: mocked out value' ) ;
188188 async . done ( ) ;
189189 } ) ;
@@ -198,7 +198,7 @@ export function main() {
198198 . createAsync ( TestViewBindingsComp )
199199 . then ( ( componentFixture ) => {
200200 componentFixture . detectChanges ( ) ;
201- expect ( componentFixture . debugElement . nativeElement )
201+ expect ( componentFixture . nativeElement )
202202 . toHaveText ( 'injected value: mocked out value' ) ;
203203 async . done ( ) ;
204204 } ) ;
0 commit comments