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 d24990a490
commit 3dd517f7fd

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))
); );