We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82f9616 commit f475fbdCopy full SHA for f475fbd
README.md
@@ -192,6 +192,9 @@ describe('...', () => {
192
import mongoose from 'mongoose';
193
import MongodbMemoryServer from 'mongodb-memory-server';
194
195
+// May require additional time for downloading MongoDB binaries
196
+jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000;
197
+
198
beforeAll(async () => {
199
const mongoServer = new MongodbMemoryServer();
200
const mongoUri = await mongoServer.getConnectionString();
src/__tests__/index-test.js
@@ -3,6 +3,8 @@
3
import MongoDBMemoryServer from '../index';
4
import { MongoClient } from 'mongodb';
5
6
7
8
describe('MongoDBMemoryServer', () => {
9
it('should start mongo server', async () => {
10
const server = new MongoDBMemoryServer();
0 commit comments