angular/packages/core/testing/src
Olivier Combe 29bff0f02e feat(ivy): implement compileComponents method for TestBedRender3 (#27778)
The implementation of the `compileComponents` method for `TestBedRender3` was missing.
We now pass each component through `resolveComponentResources` when `TestBed.compileComponents` is called so that `templateUrl` and `styleUrls` can be resolved asynchronously and used once `TestBed.createComponent` is called.
The component's metadata are overriden in `TestBed` instead of mutating the original metadata like this is the case outside of TestBed. The reason for that is that we need to ensure that we didn't mutate anything so that the following tests can run with the same original metadata, otherwise we it could trigger or hide some errors.

FW-553 #resolve

PR Close #27778
2019-01-15 14:08:20 -08:00
..
async.ts docs: update core to use @publicApi tags (#26595) 2018-10-19 14:35:53 -07:00
async_fallback.ts docs: remove all deprecated @stable jsdoc tags (#23210) 2018-04-10 21:49:32 -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 feat(ivy): implement compileComponents method for TestBedRender3 (#27778) 2019-01-15 14:08:20 -08:00
resolvers.ts fix(ivy): apply all overrides from TestBed, not the last one only (#27734) 2018-12-21 15:09:00 -05:00
test_bed.ts test(ivy): finish root cause analysis for @angular/core TestBed failing tests (#27510) 2018-12-06 13:41:02 -08:00
test_bed_common.ts docs: update core to use @publicApi tags (#26595) 2018-10-19 14:35:53 -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