angular/packages/compiler-cli/test/compliance/test_helpers
Doug Parker 85ba38aecb refactor(compiler): add @suppress {msgDescriptions} if no description is present on an i18n message (#44787)
Refs http://b/214103351.

This happens if a user writes `<span i18n>Message</span>`. This is accepted as an internationalized message, but without a description. JSCompiler will throw an error in this situation because descriptions are generally required. Now, the Angular compiler will generate a suppression annotation so JSCompiler allows the syntax. This will ease an internal migration to JSCompiler-based i18n.

PR Close #44787
2022-02-02 15:33:44 -08:00
..
BUILD.bazel test(compiler-cli): add support for source-map checks in compliance tests (#39939) 2020-12-07 16:21:05 -08:00
check_errors.ts test(compiler-cli): log unexpected compilation errors in compliance test runner (#39862) 2020-12-02 14:56:38 -08:00
check_expectations.ts refactor(compiler-cli): update to use new file-system interfaces (#40281) 2021-01-08 09:34:44 -08:00
compile_test.ts refactor(compiler): delete View Engine components of @angular/compiler (#44368) 2021-12-06 13:12:36 -05:00
di_checks.ts test(compiler-cli): convert di compliance tests (#39863) 2020-11-30 11:21:23 -08:00
expect_emit.ts test(compiler-cli): migrate i18n compliance tests (#39661) 2020-11-25 11:08:39 -08:00
expected_file_macros.ts feat(compiler): reference ICU message IDs from their placeholders (#43534) 2021-10-18 09:23:59 -07:00
function_checks.ts test(compiler-cli): migrate template compliance tests (#39871) 2020-12-01 14:58:11 -08:00
get_compliance_tests.ts build: enable useUnknownInCatchVariables (#44679) 2022-02-01 18:17:29 +00:00
golden_partials.ts test(compiler-cli): ensure that golden partial files are parsed accurately (#39939) 2020-12-07 16:21:02 -08:00
i18n_checks.ts test(compiler-cli): migrate i18n compliance tests (#39661) 2020-11-25 11:08:39 -08:00
i18n_helpers.ts refactor(compiler): add @suppress {msgDescriptions} if no description is present on an i18n message (#44787) 2022-02-02 15:33:44 -08:00
sourcemap_helpers.ts test(compiler-cli): clarify source-map expectations in compliance tests (#43129) 2021-08-16 13:07:23 -07:00
test_runner.ts test(compiler-cli): fix up import paths in test code (#40237) 2021-01-07 13:12:53 -08:00