File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11flow-typed /*
22lib /*
3+ postinstall.js
Original file line number Diff line number Diff line change 88notifications :
99 email : true
1010node_js :
11+ - " 10"
1112 - " 9"
1213 - " 8"
1314before_install : yarn global add greenkeeper-lockfile@1
Original file line number Diff line number Diff line change @@ -8,11 +8,13 @@ It helps to skip timeout setup `jasmine.DEFAULT_TIMEOUT_INTERVAL = 60000;`
88when first test run hits MongoDB binary downloading to the cache.
99*/
1010
11- const MongoBinary = require ( './lib/util/MongoBinary' ) . default ;
11+ if ( require . resolve ( './lib/util/MongoBinary' ) ) {
12+ const MongoBinary = require ( './lib/util/MongoBinary' ) . default ;
1213
13- console . log ( 'mongodb-memory-server: checking MongoDB binaries cache...' ) ;
14- MongoBinary . getPath ( {
15- version : 'latest' ,
16- } ) . then ( binPath => {
17- console . log ( `mongodb-memory-server: binary path is ${ binPath } ` ) ;
18- } ) ;
14+ console . log ( 'mongodb-memory-server: checking MongoDB binaries cache...' ) ;
15+ MongoBinary . getPath ( {
16+ version : 'latest' ,
17+ } ) . then ( binPath => {
18+ console . log ( `mongodb-memory-server: binary path is ${ binPath } ` ) ;
19+ } ) ;
20+ }
You can’t perform that action at this time.
0 commit comments