angular-docs-cn/packages/platform-browser/test/browser
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
..
static_assets refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tools build(platform-browser): exclude node incompatible tests from :test target. (#21053) 2017-12-22 13:10:51 -08:00
bootstrap_spec.ts feat(ivy): implement `compileComponents` method for `TestBedRender3` (#27778) 2019-01-15 14:08:20 -08:00
browser_adapter_spec.ts build(platform-browser): exclude node incompatible tests from :test target. (#21053) 2017-12-22 13:10:51 -08:00
meta_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
rectangle_mock.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
title_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
transfer_state_spec.ts build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00