gulpfile - shutdown mocha after test run

see:
- http://mochajs.org/#usage
- https://boneskull.com/mocha-v4-nears-release/#mochawontforceexit
This commit is contained in:
otofune 2017-11-07 09:49:48 +09:00
parent 67d32b73f4
commit 2c234beb31

View file

@ -93,6 +93,7 @@ gulp.src('./src/**/*.ts')
gulp.task('mocha', () =>
gulp.src([])
.pipe(mocha({
exit: true
//compilers: 'ts:ts-node/register'
} as any))
);