tests(sqljs): added explicit error code to fail the process

This commit is contained in:
Daniel Lang 2017-12-18 21:57:23 +01:00
parent b1d240085e
commit 0dd7251eeb

View File

@ -337,7 +337,8 @@ export class Gulpfile {
grep: !!args.grep ? new RegExp(args.grep) : undefined,
timeout: 15000
}))
.pipe(istanbul.writeReports());
.pipe(istanbul.writeReports())
.on('error', process.exit.bind(process, 1));
}
/**