File tree 4 files changed +6
-1
lines changed
4 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 52
52
"lockfile" : " ^1.0.3" ,
53
53
"mkdirp" : " ^0.5.1" ,
54
54
"mongodb-download" : " ^2.2.3" ,
55
+ "regenerator-runtime" : " ^0.11.0" ,
55
56
"tmp" : " ^0.0.33" ,
56
57
"uuid" : " ^3.0.1"
57
58
},
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import getport from 'get-port';
7
7
import Debug from 'debug' ;
8
8
import MongoInstance from './util/MongoInstance' ;
9
9
10
+ require ( 'regenerator-runtime/runtime' ) ; // eslint-disable-line
10
11
tmp . setGracefulCleanup ( ) ;
11
12
12
13
export type MongoMemoryServerOptsT = {
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ import path from 'path';
7
7
import LockFile from 'lockfile' ;
8
8
import mkdirp from 'mkdirp' ;
9
9
10
+ require ( 'regenerator-runtime/runtime' ) ; // eslint-disable-line
11
+
10
12
export type MongoBinaryCache = {
11
13
[ version : string ] : string ,
12
14
} ;
Original file line number Diff line number Diff line change 4
4
import { ChildProcess , spawn as spawnChild } from 'child_process' ;
5
5
import path from 'path' ;
6
6
import MongoBinary from './MongoBinary' ;
7
-
8
7
import type { MongoBinaryOpts } from './MongoBinary' ;
9
8
9
+ require ( 'regenerator-runtime/runtime' ) ; // eslint-disable-line
10
+
10
11
export type MongodOps = {
11
12
// instance options
12
13
instance : {
You can’t perform that action at this time.
0 commit comments