Skip to content

Commit

Permalink
Merge pull request #1178 from Krinkle/rm-pause-workaround
Browse files Browse the repository at this point in the history
Remove pauseTest workaround
  • Loading branch information
NullVoxPopuli authored Sep 14, 2024
2 parents bb09cb7 + bf94582 commit 0fd92b5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions addon/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ export function setupTest(hooks, _options) {
let originalPauseTest = this.pauseTest;
this.pauseTest = function QUnit_pauseTest() {
assert.timeout(-1); // prevent the test from timing out

// This is a temporary work around for
// https://github.com/emberjs/ember-qunit/issues/496 this clears the
// timeout that would fail the test when it hits the global testTimeout
// value.
clearTimeout(QUnit.config.timeout);
return originalPauseTest.call(this);
};
});
Expand Down

0 comments on commit 0fd92b5

Please sign in to comment.