@@ -118,8 +118,8 @@ export function main() {
118118 . then ( ( tc ) => {
119119 loader . loadNextToLocation ( DynamicallyLoaded , tc . elementRef )
120120 . then ( ref => {
121- expect ( tc . domElement ) . toHaveText ( "Location;" ) ;
122- expect ( DOM . nextSibling ( tc . domElement ) )
121+ expect ( tc . nativeElement ) . toHaveText ( "Location;" ) ;
122+ expect ( DOM . nextSibling ( tc . nativeElement ) )
123123 . toHaveText ( 'DynamicallyLoaded;' ) ;
124124
125125 async . done ( ) ;
@@ -142,15 +142,15 @@ export function main() {
142142 . then ( ref => {
143143 loader . loadNextToLocation ( DynamicallyLoaded2 , tc . elementRef )
144144 . then ( ref2 => {
145- var firstSibling = DOM . nextSibling ( tc . domElement ) ;
145+ var firstSibling = DOM . nextSibling ( tc . nativeElement ) ;
146146 var secondSibling = DOM . nextSibling ( firstSibling ) ;
147- expect ( tc . domElement ) . toHaveText ( "Location;" ) ;
147+ expect ( tc . nativeElement ) . toHaveText ( "Location;" ) ;
148148 expect ( firstSibling ) . toHaveText ( "DynamicallyLoaded;" ) ;
149149 expect ( secondSibling ) . toHaveText ( "DynamicallyLoaded2;" ) ;
150150
151151 ref2 . dispose ( ) ;
152152
153- firstSibling = DOM . nextSibling ( tc . domElement ) ;
153+ firstSibling = DOM . nextSibling ( tc . nativeElement ) ;
154154 secondSibling = DOM . nextSibling ( firstSibling ) ;
155155 expect ( secondSibling ) . toBeNull ( ) ;
156156
@@ -177,7 +177,7 @@ export function main() {
177177
178178 tc . detectChanges ( ) ;
179179
180- var newlyInsertedElement = DOM . nextSibling ( tc . domElement ) ;
180+ var newlyInsertedElement = DOM . nextSibling ( tc . nativeElement ) ;
181181 expect ( newlyInsertedElement . id )
182182 . toEqual ( "new value" )
183183
0 commit comments