mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
test(compiler-cli): run i18n extraction tests using Ivy compiler (#43893)
This commit re-enables the `extract_i18n` test target and updates the test to run with the Ivy compiler. PR Close #43893
This commit is contained in:
@@ -42,17 +42,12 @@ jasmine_node_test(
|
||||
name = "extract_i18n",
|
||||
bootstrap = ["//tools/testing:node_es5"],
|
||||
data = [
|
||||
"@npm//@angular/core-12",
|
||||
],
|
||||
tags = [
|
||||
# Disabled as the tests pertain to the old extraction tool only, whereas the Ivy extraction
|
||||
# tool will likely work differently.
|
||||
"view-engine-only",
|
||||
"//packages/core:npm_package",
|
||||
],
|
||||
deps = [
|
||||
":extract_i18n_lib",
|
||||
"//packages/common:npm_package",
|
||||
"//packages/core",
|
||||
"@npm//@angular/common-12",
|
||||
"@npm//yargs",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -227,9 +227,6 @@ describe('extract_i18n command line', () => {
|
||||
"moduleResolution": "node",
|
||||
"lib": ["es6", "dom"],
|
||||
"typeRoots": ["node_modules/@types"]
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
"enableIvy": false
|
||||
}
|
||||
}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user