@@ -256,7 +256,7 @@ describe("Renderer E2E", () => {
256
256
it ( "ngIf hides component when false" , ( ) => {
257
257
return testApp . loadComponent ( NgIfLabel ) . then ( ( componentRef ) => {
258
258
const componentRoot = componentRef . instance . elementRef . nativeElement ;
259
- assert . equal ( "(ProxyViewContainer (#comment) )" , dumpView ( componentRoot ) ) ;
259
+ assert . equal ( "(ProxyViewContainer)" , dumpView ( componentRoot ) ) ;
260
260
} ) ;
261
261
} ) ;
262
262
@@ -267,7 +267,7 @@ describe("Renderer E2E", () => {
267
267
268
268
component . show = true ;
269
269
testApp . appRef . tick ( ) ;
270
- assert . equal ( "(ProxyViewContainer (#comment), ( Label))" , dumpView ( componentRoot ) ) ;
270
+ assert . equal ( "(ProxyViewContainer (Label))" , dumpView ( componentRoot ) ) ;
271
271
} ) ;
272
272
} ) ;
273
273
@@ -280,8 +280,7 @@ describe("Renderer E2E", () => {
280
280
assert . equal (
281
281
"(ProxyViewContainer " +
282
282
"(StackLayout " +
283
- "(#comment), " + // ng-reflect comment
284
- "(Label[text=If]), (#comment)))" , // the content to be displayed and its anchor
283
+ "(Label[text=If])))" , // the content to be displayed
285
284
286
285
dumpView ( componentRoot , true ) ) ;
287
286
} ) ;
@@ -297,8 +296,7 @@ describe("Renderer E2E", () => {
297
296
assert . equal (
298
297
"(ProxyViewContainer " +
299
298
"(StackLayout " +
300
- "(#comment), " + // ng-reflect comment
301
- "(Label[text=Else]), (#comment)))" , // the content to be displayed and its anchor
299
+ "(Label[text=Else])))" , // the content to be displayed
302
300
303
301
dumpView ( componentRoot , true ) ) ;
304
302
} ) ;
@@ -313,9 +311,7 @@ describe("Renderer E2E", () => {
313
311
assert . equal (
314
312
"(ProxyViewContainer " +
315
313
"(StackLayout " +
316
- "(#comment), " + // ng-reflect comment
317
- "(Label[text=Then]), (#comment), " + // the content to be displayed and its anchor
318
- "(#comment)))" , // the anchor for the else template
314
+ "(Label[text=Then])))" , // the content to be displayed
319
315
dumpView ( componentRoot , true ) ) ;
320
316
} ) ;
321
317
} ) ;
@@ -331,9 +327,7 @@ describe("Renderer E2E", () => {
331
327
assert . equal (
332
328
"(ProxyViewContainer " +
333
329
"(StackLayout " +
334
- "(#comment), " + // ng-reflect comment
335
- "(Label[text=Else]), (#comment), " + // the content to be displayed and its anchor
336
- "(#comment)))" , // the anchor for the else template
330
+ "(Label[text=Else])))" , // the content to be displayed
337
331
338
332
dumpView ( componentRoot , true ) ) ;
339
333
} ) ;
@@ -343,7 +337,7 @@ describe("Renderer E2E", () => {
343
337
return testApp . loadComponent ( NgForLabel ) . then ( ( componentRef ) => {
344
338
const componentRoot = componentRef . instance . elementRef . nativeElement ;
345
339
assert . equal (
346
- "(ProxyViewContainer (#comment), ( Label[text=one]), (Label[text=two]), (Label[text=three]))" ,
340
+ "(ProxyViewContainer (Label[text=one]), (Label[text=two]), (Label[text=three]))" ,
347
341
dumpView ( componentRoot , true ) ) ;
348
342
} ) ;
349
343
} ) ;
@@ -357,7 +351,7 @@ describe("Renderer E2E", () => {
357
351
testApp . appRef . tick ( ) ;
358
352
359
353
assert . equal (
360
- "(ProxyViewContainer (#comment), ( Label[text=one]), (Label[text=three]))" ,
354
+ "(ProxyViewContainer (Label[text=one]), (Label[text=three]))" ,
361
355
dumpView ( componentRoot , true ) ) ;
362
356
} ) ;
363
357
} ) ;
@@ -371,7 +365,7 @@ describe("Renderer E2E", () => {
371
365
testApp . appRef . tick ( ) ;
372
366
373
367
assert . equal (
374
- "(ProxyViewContainer (#comment), " +
368
+ "(ProxyViewContainer " +
375
369
"(Label[text=one]), (Label[text=new]), (Label[text=two]), (Label[text=three]))" ,
376
370
dumpView ( componentRoot , true ) ) ;
377
371
} ) ;
0 commit comments