File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -334,27 +334,27 @@ export default Ember.Service.extend({
334334 url: 'https://cdnjs.cloudflare.com/ajax/libs/qunit/2.3.2/qunit.js',
335335 dataType: 'text'
336336 }).then(function(script) {
337- var oldQUnit;
338- if (window.QUnit) {
339- oldQUnit = window.QUnit;
340- }
341- window.QUnit = {
342- config: {
343- autostart: false
344- }
345- }
346- eval(script);
347- if (!oldQUnit) {
348- oldQUnit = window.QUnit;
349- }
350- if (window.testModule) {
351- window.require(window.testModule);
352- }
353- window.QUnit.start = function() {};
354- window.QUnit.done(function() {
355- window.QUnit = oldQUnit;
356- });
357337 Ember.run(function() {
338+ var oldQUnit;
339+ if (window.QUnit) {
340+ oldQUnit = window.QUnit;
341+ }
342+ window.QUnit = {
343+ config: {
344+ autostart: false
345+ }
346+ }
347+ eval(script);
348+ if (!oldQUnit) {
349+ oldQUnit = window.QUnit;
350+ }
351+ if (window.testModule) {
352+ window.require(window.testModule);
353+ }
354+ window.QUnit.start = function() {};
355+ window.QUnit.done(function() {
356+ window.QUnit = oldQUnit;
357+ });
358358 oldQUnit.start();
359359 });
360360 });
You can’t perform that action at this time.
0 commit comments