Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #145 from ember-cli/rwjblue-patch-1
Browse files Browse the repository at this point in the history
Prevent calling `QUnit.start` twice with jQuery 3.0.
  • Loading branch information
nathanhammond authored Sep 11, 2016
2 parents 30a3f96 + cfd20e5 commit f0304d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vendor/ember-cli-qunit/test-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
document.addEventListener('DOMContentLoaded', fn);
}
}

var autostart = QUnit.config.autostart !== false;
QUnit.config.autostart = false;

ready(function() {
var QUnitAdapter = require('ember-qunit').QUnitAdapter;
Expand Down Expand Up @@ -64,9 +67,6 @@
}
});

var autostart = QUnit.config.autostart !== false;
QUnit.config.autostart = false;

setTimeout(function() {
TestLoader.load();

Expand Down

0 comments on commit f0304d4

Please sign in to comment.