task(deps): Upgrade ember-test-waiters to ^2.0.0
MODIFY
addon/scheduler.ts
addon/scheduler.ts
@@ -3,7 +3,7 @@ import { schedule } from '@ember/runloop';
import { deprecate } from '@ember/debug';
import Router from '@ember/routing/router';
import { gte } from 'ember-compatibility-helpers';
-import { buildWaiter, Token, TestWaiter } from 'ember-test-waiters';
+import { buildWaiter, Token } from 'ember-test-waiters';
interface Deferred {
isResolved: boolean;
@@ -70,9 +70,7 @@ export function reset(): void {
_whenRouteDidChange = _defer(APP_SCHEDULER_LABEL);
_whenRouteIdle = _whenRouteDidChange.promise.then();
- if (waiter instanceof TestWaiter) {
- waiter.items.clear();
- }
+ waiter.reset();
if (!IS_FASTBOOT) {
_whenRouteDidChange.resolve();

MODIFY
package.json
package.json
"ember-cli-babel": "^7.1.3",
"ember-cli-typescript": "^2.0.0",
"ember-compatibility-helpers": "^1.1.2",
- "ember-test-waiters": "^1.1.1"
+ "ember-test-waiters": "^2.0.0"
},
"devDependencies": {
"@ember/optional-features": "^1.0.0",

MODIFY
yarn.lock
yarn.lock
@@ -5954,9 +5954,11 @@ ember-angle-bracket-invocation-polyfill@^2.0.2:
ember-app-scheduler@^1.0.5:
version "0.0.0"
+ uid ""
"ember-app-scheduler@link:./":
version "0.0.0"
+ uid ""
ember-assign-polyfill@^2.5.0, ember-assign-polyfill@^2.6.0:
version "2.6.0"
@@ -6142,7 +6144,7 @@ ember-cli-babel@^6.0.0-beta.4, ember-cli-babel@^6.10.0, ember-cli-babel@^6.11.0,
ember-cli-version-checker "^2.1.2"
semver "^5.5.0"
-ember-cli-babel@^7.1.0, ember-cli-babel@^7.1.2, ember-cli-babel@^7.1.3, ember-cli-babel@^7.1.4, ember-cli-babel@^7.11.0, ember-cli-babel@^7.12.0, ember-cli-babel@^7.13.2, ember-cli-babel@^7.7.3, ember-cli-babel@^7.8.0:
+ember-cli-babel@^7.1.0, ember-cli-babel@^7.1.2, ember-cli-babel@^7.1.3, ember-cli-babel@^7.1.4, ember-cli-babel@^7.11.0, ember-cli-babel@^7.12.0, ember-cli-babel@^7.13.2, ember-cli-babel@^7.18.0, ember-cli-babel@^7.7.3, ember-cli-babel@^7.8.0:
version "7.18.0"
resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-7.18.0.tgz#e979b73eee00cd93f63452c6170d045e8832f29c"
integrity sha512-OLPfYD8wSfCrmGHcUf8zEfySSvbAL+5Qp2RWLycJIMaBZhg+SncKj5kVkL3cPJR5n2hVHPdfmKTQIYjOYl6FnQ==
@@ -7070,6 +7072,15 @@ ember-test-waiters@^1.1.1:
ember-cli-babel "^7.11.0"
semver "^6.3.0"
+ember-test-waiters@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/ember-test-waiters/-/ember-test-waiters-2.0.0.tgz#fee43406670a2bd54baa7daf836b8c9acd517fee"
+ integrity sha512-R7H/BgKeAJdmpNA7aropEJkcJZNBMSOXTogz7hF+ZO0tnHSq3cJb/gDpu6Beok3DzLCJIrYYApU3MPbQ0/teXQ==
+ dependencies:
+ ember-cli-babel "^7.18.0"
+ ember-cli-typescript "^3.1.3"
+ semver "^7.1.3"
+
ember-tether@^1.0.0-beta.2:
version "1.0.0"
resolved "https://registry.yarnpkg.com/ember-tether/-/ember-tether-1.0.0.tgz#6117ea7351927887cb74fa5d46097dd300280c2d"

task(deps): Upgrade ember-test-waiters to ^2.0.0 (#597)