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:
JoostK
2021-10-19 22:36:00 +02:00
committed by Andrew Kushnir
parent aef01389e1
commit 7d33af0400
2 changed files with 2 additions and 10 deletions
+2 -7
View File
@@ -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
}
}`);
});