Skip to content

Commit

Permalink
Merge branch 'ryansmith94-issue/bail'
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrick Whorton committed May 18, 2015
2 parents c7bafd2 + b7b23f3 commit 4351353
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/lrs-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
.option('-u, --authUser <username>', 'sets user name (required when basic authentication enabled)')
.option('-p, --authPass <password>', 'sets password (required when basic authentication enabled)')
.option('-R, --reporter <name>', 'specify the reporter to use')
.option('-b --bail', 'bail after first test failure')
.parse(process.argv);

var deferred = Q.defer(),
Expand All @@ -31,8 +32,9 @@
}).unknown(false),
mocha = new Mocha({
uii: 'bdd',
timeout: '15000',
reporter: program.reporter,
timeout: '15000'
bail: program.bail
});

process.nextTick(function () {
Expand Down

0 comments on commit 4351353

Please sign in to comment.