mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
TestComponentBuilder now lives in core/testing. compiler/testing contains a private OverridingTestComponentBuilder implementation which handles the private behavior we need to override templates. This is part of the effort to simplify the testing imports and hide compiler APIs. Closes #9585 BREAKING CHANGE: `TestComponentBuilder` is now imported from `@angular/core/testing`. Imports from `@angular/compiler/testing` are deprecated. Before: ``` import {TestComponentBuilder, TestComponentRenderer, ComponentFixtureAutoDetect} from '@angular/compiler/testing'; ``` After: ``` import {TestComponentBuilder, TestComponentRenderer, ComponentFixtureAutoDetect} from '@angular/core/testing'; ``` |
||
|---|---|---|
| .. | ||
| animation | ||
| async.dart | ||
| async.ts | ||
| async_test_completer.ts | ||
| component_fixture.ts | ||
| fake_async.dart | ||
| fake_async.ts | ||
| lang_utils.dart | ||
| lang_utils.ts | ||
| logger.ts | ||
| mock_application_ref.ts | ||
| ng_zone_mock.ts | ||
| test_component_builder.ts | ||
| test_injector.ts | ||
| testing.dart | ||
| testing.ts | ||
| testing_internal.dart | ||
| testing_internal.ts | ||