From b35c81115c0b6b950e42459eec9bf816bc7196b3 Mon Sep 17 00:00:00 2001 From: Jason Barry Date: Tue, 22 Aug 2017 12:22:37 -0400 Subject: [PATCH] Update readme with 'service:scheduler' dependency for unit tests (#69) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68f972cd..41249ed8 100644 --- a/README.md +++ b/README.md @@ -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