diff --git a/packages/compiler-cli/test/BUILD.bazel b/packages/compiler-cli/test/BUILD.bazel
index f0e842f65b..d2364a8002 100644
--- a/packages/compiler-cli/test/BUILD.bazel
+++ b/packages/compiler-cli/test/BUILD.bazel
@@ -43,6 +43,7 @@ jasmine_node_test(
],
deps = [
":extract_i18n_lib",
+ "//packages/common:npm_package",
"//packages/core",
"//tools/testing:node",
],
diff --git a/packages/compiler-cli/test/extract_i18n_spec.ts b/packages/compiler-cli/test/extract_i18n_spec.ts
index 8e44da3e22..3a03392b11 100644
--- a/packages/compiler-cli/test/extract_i18n_spec.ts
+++ b/packages/compiler-cli/test/extract_i18n_spec.ts
@@ -46,6 +46,15 @@ const EXPECTED_XMB = `
translate me
Welcome
+ {VAR_PLURAL, plural, =1 {book} other {books} }
+
+ foo { count, plural, =1 {...} other {...}}{ count, plural, =1 {...} other {...}}
+
+ Name: <b><b>{{
+ name // i18n(ph="name")
+ }}{{
+ name // i18n(ph="name")
+ }}</b></b>
`;
@@ -90,6 +99,41 @@ const EXPECTED_XLIFF = `
3
+
+
+
+ src/icu.html
+ 1
+
+ with ICU
+
+
+
+
+ src/icu.html
+ 4
+
+ with ICU and other things
+
+
+
+
+ src/icu.html
+ 5
+
+
+
+
+
+ src/placeholders.html
+ 1
+
+ with placeholders
+