angular-cn/modules/@angular/core
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 fix(KeyValueDiffer): check for changes 2016-07-18 11:30:07 -07:00
test fix(KeyValueDiffer): check for changes 2016-07-18 11:30:07 -07:00
testing fix(testing): add an explicit doAsyncPrecompilation step (#10015) 2016-07-20 10:51:21 -07:00
core.dart feat(browser): use AppModules for bootstrap in the browser 2016-07-02 20:35:09 -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.dart feat(core): split ChangeDetectorStrategy into ChangeDetectionStrategy and ChangeDetectorStatus 2016-06-27 20:19:20 -07:00
private_export.ts refactor: misc cleanup 2016-07-08 10:34:22 -07:00
rollup.config.js build: fix source map paths for npm packages 2016-05-03 13:36:33 -06:00
testing.ts fix(testing): add an explicit doAsyncPrecompilation step (#10015) 2016-07-20 10:51:21 -07:00
tsconfig-es5.json chore(tsickle): add @Annotation annotations 2016-06-16 12:29:46 -07:00
tsconfig-es2015.json chore(tsickle): add @Annotation annotations 2016-06-16 12:29:46 -07:00