diff --git a/blueprints/ember-cli-blanket/files/tests/blanket-options.js b/blueprints/ember-cli-blanket/files/tests/blanket-options.js index d03c0cd..3c4dbdd 100644 --- a/blueprints/ember-cli-blanket/files/tests/blanket-options.js +++ b/blueprints/ember-cli-blanket/files/tests/blanket-options.js @@ -7,9 +7,9 @@ var options = { loaderExclusions: [], enableCoverage: true, cliOptions: { - reporters: ['json'] - }, - autostart: true + reporters: ['json'], + autostart: true + } }; if (typeof exports === 'undefined') { blanket.options(options); diff --git a/vendor/start.js b/vendor/start.js index febc66a..0678b3d 100644 --- a/vendor/start.js +++ b/vendor/start.js @@ -22,7 +22,7 @@ function cliFinish() { blanket.onTestsDone = cliFinish; if (typeof(QUnit) === 'object') { -QUnit.config.autostart = blanket.options('autostart'); + QUnit.config.autostart = blanket.options('cliOptions').autostart !== false; } else if (typeof(mocha) === 'object') {