mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08: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:
committed by
Pawel Kozlowski
parent
40f2b2690a
commit
8b0340626e
+2
-3
@@ -69,8 +69,7 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"skipForTemplatePipeline": true
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
+3
-5
@@ -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
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
+1
-2
@@ -126,8 +126,7 @@
|
||||
"chain_synthetic_bindings.js"
|
||||
]
|
||||
}
|
||||
],
|
||||
"skipForTemplatePipeline": true
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "should chain multiple property bindings on an ng-template",
|
||||
|
||||
+1
-2
@@ -281,8 +281,7 @@
|
||||
],
|
||||
"failureMessage": "Incorrect template"
|
||||
}
|
||||
],
|
||||
"skipForTemplatePipeline": true
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "should reference correct context in listener inside embedded view",
|
||||
|
||||
+2
-2
@@ -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"));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user