mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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:
parent
40f2b2690a
commit
8b0340626e
5 changed files with 9 additions and 14 deletions
|
|
@ -69,8 +69,7 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"skipForTemplatePipeline": true
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -126,8 +126,7 @@
|
|||
"chain_synthetic_bindings.js"
|
||||
]
|
||||
}
|
||||
],
|
||||
"skipForTemplatePipeline": true
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "should chain multiple property bindings on an ng-template",
|
||||
|
|
|
|||
|
|
@ -281,8 +281,7 @@
|
|||
],
|
||||
"failureMessage": "Incorrect template"
|
||||
}
|
||||
],
|
||||
"skipForTemplatePipeline": true
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "should reference correct context in listener inside embedded view",
|
||||
|
|
|
|||
|
|
@ -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"));
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue