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
1 changed files with 1 additions and 0 deletions

View File

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