angular-cn/modules/@angular/platform-browser
Julie Ralph b43f95435b fix(testing): add an explicit doAsyncPrecompilation step (#10015)
This removes the magic from the `inject` test helper that would inspect
the current zone and would only work with our `async` test helper.
Now, `inject` is always synchronous, and if you are using a module
that requires async precompilation, you're required to call
`doAsyncPrecompilation` in your tests.

This is part of the breaking changes introduced with the swap
to each test having an AppModule.

Closes #9975
Closes #9593

BREAKING CHANGE:

`TestInjector` is now renamed to `TestBed`

Before:

```js
import {TestInjector, getTestInjector} from '@angular/core/testing';
```

After:

```js
import {TestBed, getTestBed} from '@angular/core/testing';
```
2016-07-20 10:51:21 -07:00
..
src feat(animations): allow animation integration support into host params 2016-07-12 14:55:36 -07:00
test fix(testing): add an explicit doAsyncPrecompilation step (#10015) 2016-07-20 10:51:21 -07:00
testing fix(platform-browser): remove testing_e2e target (#10029) 2016-07-13 10:10:02 -07:00
core_private.ts feat(browser): use AppModules for bootstrap in the browser 2016-07-02 20:35:09 -07:00
dynamic.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
index.ts refactor(core): clean up platform bootstrap and initTestEnvironment 2016-07-08 13:41:38 -07:00
package.json chore(package.json): make the packages installable 2016-05-27 17:21:34 -07:00
private_export.ts feat(browser): use AppModules for bootstrap in the browser 2016-07-02 20:35:09 -07:00
rollup.config.js fix: split dynamic bits in platform-browser into platform-browser-dynamic 2016-06-14 15:31:24 -07:00
testing.ts fix(platform-browser/testing): clean up public api for platform-browser/testing (#9519) 2016-06-23 16:42:25 -07:00
tsconfig-es5.json fix(platform-browser): remove testing_e2e target (#10029) 2016-07-13 10:10:02 -07:00
tsconfig-es2015.json fix(platform-browser): remove testing_e2e target (#10029) 2016-07-13 10:10:02 -07:00