Skip to content

Commit

Permalink
chore(changelog): fix changelog with messages about testing zone deps
Browse files Browse the repository at this point in the history
  • Loading branch information
juliemr committed Apr 26, 2016
1 parent 969b553 commit 39eb347
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@

* `injectAsync` is now deprecated. Instead, use the `async` function
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:
```
it('should wait for returned promises', injectAsync([FancyService], (service) => {
Expand Down Expand Up @@ -72,6 +77,10 @@ After:
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.


Expand Down

0 comments on commit 39eb347

Please sign in to comment.