Just include exit code in spec output

This commit is contained in:
Kevin Sawicki 2015-12-09 18:23:50 -08:00
parent e1654ee334
commit 516ff0644c
2 changed files with 1 additions and 2 deletions

View file

@ -44,7 +44,6 @@ describe 'app module', ->
output = ''
appProcess.stdout.on 'data', (data) -> output += data
appProcess.on 'close', (code) ->
console.log output
assert.notEqual output.indexOf('Exit event with code: 123'), -1
assert.equal code, 123
done()