angular-docs-cn/tools
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/tsc-wrapped fix(compiler): Ignore references to declared modules and unneeded types (#9776) 2016-07-11 17:26:35 -07:00
analytics chore(): remove all angular2_material code. 2016-03-16 13:37:37 -07:00
broccoli cleanup(router): removes router 2016-06-20 08:47:54 -07:00
build chore(ngc): refactor out tsc-wrapped 2016-05-25 09:45:55 -07:00
cjs-jasmine refactor(core): clean up platform bootstrap and initTestEnvironment 2016-07-08 13:41:38 -07:00
code.angularjs.org chore(publish): add Rx bundles to code.angularjs.org publish step 2015-12-15 17:12:42 +00:00
karma fix(test-runner): make karma internal reporter compatible with 0.13.20 (#8977) 2016-06-03 10:48:55 -07:00
npm build(npm): short-circuit npm install if node_modules are healthy 2016-05-13 22:07:41 +02:00
public_api_guard fix(testing): add an explicit doAsyncPrecompilation step (#10015) 2016-07-20 10:51:21 -07:00
travis build(travis): add travis log folding for verbose tasks 2015-10-03 21:33:57 +00:00
tree-shaking-test test: add tree-shaking test 2016-06-08 12:20:42 -07:00
tsc-watch fix(compiler): Collector collects enum values. (#9967) 2016-07-11 11:50:33 -07:00
tslint chore(lint): Add lint check for license headers 2016-06-23 09:46:32 -07:00
typings-test fix(typings): don't test compiler-cli typings on TS 1.8 2016-06-23 10:57:03 -07:00
check-environment.js chore(lint): re-enable clang-format on tools/ 2016-05-26 15:46:03 -07:00
chromedriverpatch.js chore(testing): update protractor to version 2.1.0 2015-05-20 17:28:23 -07:00
jsconfig.json chore(vscode): add jsconfig.json and remove .settings dir 2015-10-29 13:53:21 +00:00
tsconfig.json test: upgrade ts-api-guardian to v0.1.2 2016-06-23 14:26:40 -07:00
types.d.ts build: remove dependency on tsd and use @types/* instead 2016-05-25 16:42:28 -07:00
utils.inc feat(bundle): add script to push bundles to code.angularjs.org 2015-04-14 14:50:53 -07:00