upgrade deps.. fix test

This commit is contained in:
Lloyd Brookes
2018-01-17 22:42:46 +00:00
parent 16318af9d7
commit e206fb555f
4 changed files with 145 additions and 87 deletions

View File

@ -22,7 +22,9 @@ runner.test('cli.run: bad option', async function () {
const port = 7500 + this.index
const origArgv = process.argv.slice()
process.argv = [ 'node', 'something', '--should-fail' ]
const exitCode = process.exitCode
const server = CliApp.run()
if (!exitCode) process.exitCode = 0
process.argv = origArgv
a.strictEqual(server, undefined)
})