Skip to content

Commit

Permalink
Update readme with 'service:scheduler' dependency for unit tests (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
barryofguilder authored and briangonzalez committed Aug 22, 2017
1 parent 2d577cd commit b35c811
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ historySupportMiddleware: true,
This location type inherits from Ember's `HistoryLocation`.

4. Tests
In your router and controller tests, add `'service:router-scroll',` it as a dependency in the `needs: []` block:
In your router and controller tests, add `'service:router-scroll'` and `'service:scheduler'` as dependencies in the `needs: []` block:

```js
//{your-app}}/tests/unit/routes/{{your-route}}.js
needs:[ 'service:router-scroll' ],
needs:[ 'service:router-scroll', 'service:scheduler' ],
```

## Issues with nested routes
Expand Down

0 comments on commit b35c811

Please sign in to comment.