angular-docs-cn/modules
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
..
@angular fix(testing): add an explicit doAsyncPrecompilation step (#10015) 2016-07-20 10:51:21 -07:00
angular1_router fix(ngRouteShim): update anchors to function similar to angular 1.x (#8478) 2016-05-26 12:03:23 -07:00
benchmarks feat(benchpress): add custom user metric to benchpress 2016-06-16 07:30:53 -07:00
benchmarks_external repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
benchpress feat(benchpress): add custom user metric to benchpress 2016-06-16 07:30:53 -07:00
e2e_util fix(platform-browser): remove testing_e2e target (#10029) 2016-07-13 10:10:02 -07:00
payload_tests/hello_world/ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
playground fix(router): expose initalNavigation and dispose so they can be used with webworkers 2016-07-14 17:29:01 -07:00
rollup-test build: remove dependency on tsd and use @types/* instead 2016-05-25 16:42:28 -07:00
empty.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
es6-subset.d.ts chore(typings): restrict Angular to es5+collections+promise 2016-06-27 13:58:59 -07:00
tsconfig-ts2dart.json repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
tsconfig.json chore(typings): restrict Angular to es5+collections+promise 2016-06-27 13:58:59 -07:00
types.d.ts chore(typings): restrict Angular to es5+collections+promise 2016-06-27 13:58:59 -07:00
upgrade-ts2dart.d.ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
zone-ts2dart.d.ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00