diff options
| author | otofune <otofune@gmail.com> | 2017-11-07 09:49:48 +0900 |
|---|---|---|
| committer | otofune <otofune@gmail.com> | 2017-11-07 09:49:48 +0900 |
| commit | 2c234beb313204fb3286f0744587262abc0a5c7a (patch) | |
| tree | 731b6d71300ed7a24a63a9b39790a61cdd292646 /gulpfile.ts | |
| parent | test - remove unneed async wrappings, drop GridFS drive_file correctly (diff) | |
| download | sharkey-2c234beb313204fb3286f0744587262abc0a5c7a.tar.gz sharkey-2c234beb313204fb3286f0744587262abc0a5c7a.tar.bz2 sharkey-2c234beb313204fb3286f0744587262abc0a5c7a.zip | |
gulpfile - shutdown mocha after test run
see:
- http://mochajs.org/#usage
- https://boneskull.com/mocha-v4-nears-release/#mochawontforceexit
Diffstat (limited to 'gulpfile.ts')
| -rw-r--r-- | gulpfile.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gulpfile.ts b/gulpfile.ts index 04bd2b1c43..93002cbf37 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)) ); |