mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
ngtsc has a robust suite of testing utilities, designed for in-memory testing of a TypeScript compiler. Previously these utilities lived in the `test` directory for the compiler-cli package. This commit moves those utilities to an `ngtsc/testing` package, enabling them to be depended on separately and opening the door for using them from the upcoming language server testing infrastructure. As part of this refactoring, the `fake_core` package (a lightweight API replacement for @angular/core) is expanded to include functionality needed for Language Service test use cases. PR Close #39594 |
||
|---|---|---|
| .. | ||
| compiler_spec.ts | ||
| jit_summaries_spec.ts | ||
| README.md | ||
| regression_spec.ts | ||
| static_reflector_spec.ts | ||
| static_symbol_resolver_spec.ts | ||
| summary_resolver_spec.ts | ||
| summary_serializer_spec.ts | ||
| test_util.ts | ||
Tests in this directory are excluded from running in the browser and only run in node.