angular-cn/packages/core/testing/src
George Kalpakas 066ec33342 fix(ivy): allow `R3TestBedCompiler` to work in ngcc-processed apps (#28530)
Previously, `R3TestBedCompiler` was dynamically defining an
`@NgModule`-decorated `CompilerModule` class inside a method call.
Since ngcc only processes top-level classes, this class was not
transformed causing failures in unit tests (see #30121 for details).

This commit fixes it by using `compileNgModuleDefs()` directly (similar
to the fix in #30037).

Fixes #30121

PR Close #28530
2019-05-01 16:38:32 -07:00
..
async.ts docs: update core to use `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00
async_fallback.ts build: update zone.js to 0.9.0 (#28219) 2019-03-26 12:50:38 -07:00
async_test_completer.ts build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
before_each.ts docs: in doc comments, replace [aA]ngular2 with Angular (#15463) 2017-03-27 09:44:35 -07:00
component_fixture.ts docs: update core to use `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00
fake_async.ts docs: convert all `@experimental` tags to `@publicApi` tags (#26595) 2018-10-19 14:35:52 -07:00
fake_async_fallback.ts docs: convert all `@experimental` tags to `@publicApi` tags (#26595) 2018-10-19 14:35:52 -07:00
lang_utils.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
logger.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
metadata_override.ts docs: convert all `@experimental` tags to `@publicApi` tags (#26595) 2018-10-19 14:35:52 -07:00
metadata_overrider.ts feat(ivy): implement TestBed (#25369) 2018-08-14 11:58:47 -07:00
ng_zone_mock.ts perf(core): refactor NgZone, decrease size by 1.2Kb (#17773) 2017-07-01 10:29:56 -07:00
private_export_testing.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
r3_test_bed.ts fix(ivy): allow TestBed.createComponent to create components in isolation (#29981) 2019-04-19 09:45:52 -07:00
r3_test_bed_compiler.ts fix(ivy): allow `R3TestBedCompiler` to work in ngcc-processed apps (#28530) 2019-05-01 16:38:32 -07:00
resolvers.ts fix(ivy): TestBed rewrite to avoid unnecessary recompilations (#29483) 2019-03-27 09:41:58 -07:00
test_bed.ts refactor(ivy): use ɵɵ instead of Δ for now (#29850) 2019-04-11 16:27:56 -07:00
test_bed_common.ts fix(core): Deprecate TestBed.get(...):any (#29290) 2019-04-04 15:32:23 -07:00
test_compiler.ts docs: convert all `@experimental` tags to `@publicApi` tags (#26595) 2018-10-19 14:35:52 -07:00
testing.ts refactor(ivy): cleanup the public API for core/testing (#25492) 2018-08-15 09:53:17 -07:00
testing_internal.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00