Skip to content

Commit

Permalink
Moving the autostart option inside cliOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
sglanzer-deprecated committed May 24, 2015
1 parent 91d66fb commit 33fd268
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions blueprints/ember-cli-blanket/files/tests/blanket-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion vendor/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {

Expand Down

0 comments on commit 33fd268

Please sign in to comment.