mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
An internal compiler option named `supportTestBed` is now available for use by the Angular CLI. This option currently controls the extraction and emit of Angular class metadata. This emitted information is only needed in AOT mode when using certain TestBed APIs. However, AOT mode is currently not available for unit testing within the Angular CLI. As a result, the metadata is not used within CLI generation applications and in particular production applications. Without this option, the CLI needs to manually perform a code transform to remove the metadata and also replicate TypeScript's import eliding. This is can be a complicated operation and must be continually kept up to date with any changes to both the Angular compiler and TypeScript. The introduction of this new option alleviates these concerns. PR Close #50604 |
||
|---|---|---|
| .. | ||
| compliance | ||
| ngtsc | ||
| BUILD.bazel | ||
| downlevel_decorators_transform_spec.ts | ||
| extract_i18n_spec.ts | ||
| mocks.ts | ||
| perform_compile_spec.ts | ||
| perform_watch_spec.ts | ||
| test_support.ts | ||
| typescript_support_spec.ts | ||
| version_helpers_spec.ts | ||