From 3dd517f7fd27dc90da873ea10d40eb5b44e9b5fd 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)) );