Skip to content

Commit

Permalink
Merge pull request #788 from emberjs/dependabot/npm_and_yarn/ember-te…
Browse files Browse the repository at this point in the history
…st-waiters-2.0.1

Bump ember-test-waiters from 1.1.1 to 2.0.1
  • Loading branch information
Turbo87 authored Apr 19, 2020
2 parents a91ac3f + c1eacbb commit 1c66226
Show file tree
Hide file tree
Showing 3 changed files with 1,069 additions and 423 deletions.
10 changes: 3 additions & 7 deletions addon-test-support/@ember/test-helpers/-internal/debug-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ import {
} from '@ember/runloop';
import { DebugInfoHelper, debugInfoHelpers } from './debug-info-helpers';
import { assign } from '@ember/polyfills';
import {
getPendingWaiterState,
IPendingWaiterState,
ITestWaiterDebugInfo,
} from 'ember-test-waiters';
import { getPendingWaiterState, PendingWaiterState, TestWaiterDebugInfo } from 'ember-test-waiters';

const PENDING_AJAX_REQUESTS = 'Pending AJAX requests';
const PENDING_TEST_WAITERS = 'Pending test waiters';
Expand All @@ -32,7 +28,7 @@ interface SummaryInfo {
hasPendingRequests: boolean;
hasPendingLegacyWaiters: boolean;
hasPendingTestWaiters: boolean;
pendingTestWaiterInfo: IPendingWaiterState;
pendingTestWaiterInfo: PendingWaiterState;
autorunStackTrace: string | undefined | null;
pendingTimersCount: number;
hasPendingTimers: boolean;
Expand Down Expand Up @@ -154,7 +150,7 @@ export class TestDebugInfo implements DebugInfo {

if (Array.isArray(waiterDebugInfo)) {
_console.group(waiterName);
waiterDebugInfo.forEach((debugInfo: ITestWaiterDebugInfo) => {
waiterDebugInfo.forEach((debugInfo: TestWaiterDebugInfo) => {
_console.log(`${debugInfo.label ? debugInfo.label : 'stack'}: ${debugInfo.stack}`);
});
_console.groupEnd();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"ember-assign-polyfill": "^2.6.0",
"ember-cli-babel": "^7.7.3",
"ember-cli-htmlbars-inline-precompile": "^2.1.0",
"ember-test-waiters": "^1.1.1"
"ember-test-waiters": "^2.0.1"
},
"devDependencies": {
"@ember/optional-features": "^0.7.0",
Expand Down
Loading

0 comments on commit 1c66226

Please sign in to comment.