Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Propagate jasmine's exit status in test script
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Sobo <nathan@github.com>
  • Loading branch information
maxbrunsfeld committed Feb 13, 2017
1 parent 4174502 commit 42d06f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/test
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ if (argv.rebuild) {
if (argv.interactive) {
childProcess.spawnSync('./node_modules/.bin/electron', ['spec/support/runner', 'spec/**/*-spec.*'], {stdio: 'inherit', cwd: path.join(__dirname, '..')})
} else {
childProcess.spawnSync('./node_modules/.bin/jasmine', ['--captureExceptions', '--forceexit', '--stop-on-failure=true'], {stdio: 'inherit'})
process.exit(childProcess.spawnSync('./node_modules/.bin/jasmine', ['--captureExceptions', '--forceexit', '--stop-on-failure=true'], {stdio: 'inherit'}))
}

0 comments on commit 42d06f9

Please sign in to comment.