angular-cn/modules/@angular/platform-browser/test/web_workers/shared
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
..
message_bus_spec.ts fix(testing): add an explicit doAsyncPrecompilation step (#10015) 2016-07-20 10:51:21 -07:00
message_bus_util.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
mock_event_emitter.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
render_store_spec.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
service_message_broker_spec.ts fix(platform-browser/testing): clean up public api for platform-browser/testing (#9519) 2016-06-23 16:42:25 -07:00
web_worker_test_util.ts fix(testing): remove deprecated testing APIs (#9923) 2016-07-11 16:04:32 -07:00