From 2c234beb313204fb3286f0744587262abc0a5c7a Mon Sep 17 00:00:00 2001 From: otofune Date: Tue, 7 Nov 2017 09:49:48 +0900 Subject: [PATCH] gulpfile - shutdown mocha after test run see: - http://mochajs.org/#usage - https://boneskull.com/mocha-v4-nears-release/#mochawontforceexit --- gulpfile.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/gulpfile.ts b/gulpfile.ts index 04bd2b1c4..93002cbf3 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -93,6 +93,7 @@ gulp.src('./src/**/*.ts') gulp.task('mocha', () => gulp.src([]) .pipe(mocha({ + exit: true //compilers: 'ts:ts-node/register' } as any)) );