refactor(compiler): Enable some additional passing tests for template pipeline (#51544)

A couple more tests pertaining to animations became passing at some point recently, as well as a few form other assorted areas.

PR Close #51544
This commit is contained in:
Dylan Hunn 2023-08-28 21:29:54 -07:00 committed by Pawel Kozlowski
parent 40f2b2690a
commit 8b0340626e
5 changed files with 9 additions and 14 deletions

View file

@ -16,8 +16,7 @@
],
"failureMessage": "Incorrect initialization attributes"
}
],
"skipForTemplatePipeline": true
]
},
{
"description": "should dedup multiple [@event] listeners",
@ -34,8 +33,7 @@
],
"failureMessage": "Incorrect initialization attributes"
}
],
"skipForTemplatePipeline": true
]
}
]
}
}

View file

@ -126,8 +126,7 @@
"chain_synthetic_bindings.js"
]
}
],
"skipForTemplatePipeline": true
]
},
{
"description": "should chain multiple property bindings on an ng-template",

View file

@ -281,8 +281,7 @@
],
"failureMessage": "Incorrect template"
}
],
"skipForTemplatePipeline": true
]
},
{
"description": "should reference correct context in listener inside embedded view",

View file

@ -1,9 +1,9 @@
function MyComponent_ng_template_0_Template(rf, $ctx$) {
if (rf & 1) {
const _r3 = $i0$.ɵɵgetCurrentView();
const $_r3$ = $i0$.ɵɵgetCurrentView();
$i0$.ɵɵelementStart(0, "button", 1);
$i0$.ɵɵlistener("click", function MyComponent_ng_template_0_Template_button_click_0_listener() {
$i0$.ɵɵrestoreView(_r3);
$i0$.ɵɵrestoreView($_r3$);
const $ctx_2$ = $i0$.ɵɵnextContext();
return $i0$.ɵɵresetView(($ctx_2$["mes" + "sage"] = "hello"));
});