Skip to content

Commit 8812777

Browse files
committed
Try to fix travis failure
1 parent 0c3de75 commit 8812777

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

app/services/ember-cli.js

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)