File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,9 @@ describe('...', () => {
192
192
import mongoose from ' mongoose' ;
193
193
import MongodbMemoryServer from ' mongodb-memory-server' ;
194
194
195
+ // May require additional time for downloading MongoDB binaries
196
+ jasmine .DEFAULT_TIMEOUT_INTERVAL = 20000 ;
197
+
195
198
beforeAll (async () => {
196
199
const mongoServer = new MongodbMemoryServer ();
197
200
const mongoUri = await mongoServer .getConnectionString ();
Original file line number Diff line number Diff line change 3
3
import MongoDBMemoryServer from '../index' ;
4
4
import { MongoClient } from 'mongodb' ;
5
5
6
+ jasmine . DEFAULT_TIMEOUT_INTERVAL = 20000 ;
7
+
6
8
describe ( 'MongoDBMemoryServer' , ( ) => {
7
9
it ( 'should start mongo server' , async ( ) => {
8
10
const server = new MongoDBMemoryServer ( ) ;
You can’t perform that action at this time.
0 commit comments