chore(changelog): fix changelog with messages about testing zone deps

Closes #8253
This commit is contained in:
Julie Ralph 2016-04-26 10:05:42 -07:00
parent 969b55326c
commit 39eb34739a
1 changed files with 9 additions and 0 deletions

View File

@ -42,6 +42,11 @@
* `injectAsync` is now deprecated. Instead, use the `async` function * `injectAsync` is now deprecated. Instead, use the `async` function
to wrap any asynchronous tests. to wrap any asynchronous tests.
You will also need to add the dependency
`'node_modules/zone.js/dist/async-test.js'`
as a served file in your Karma or other test configuration.
Before: Before:
``` ```
it('should wait for returned promises', injectAsync([FancyService], (service) => { it('should wait for returned promises', injectAsync([FancyService], (service) => {
@ -72,6 +77,10 @@ After:
fakeAsync(inject([...], (...) => {...})) fakeAsync(inject([...], (...) => {...}))
``` ```
You will also need to add the dependency
`'node_modules/zone.js/dist/fake-async-test.js'`
as a served file in your Karma or other test configuration.
* - pipes now take a variable number of arguments, and not an array that contains all arguments. * - pipes now take a variable number of arguments, and not an array that contains all arguments.