File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/guides/integration-examples Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ import * as mongoose from 'mongoose';
4646import { config } from ' ./utils/config' ;
4747
4848export = async function globalSetup() {
49- if (config .Memory ) { // Config to decided if an mongodb-memory-server instance should be used
49+ if (config .Memory ) { // Config to decide if an mongodb-memory-server instance should be used
5050 // it's needed in global space, because we don't want to create a new instance every test-suite
5151 const instance = await MongoMemoryServer .create ();
5252 const uri = instance .getUri ();
@@ -71,7 +71,7 @@ import { MongoMemoryServer } from 'mongodb-memory-server';
7171import { config } from ' ./utils/config' ;
7272
7373export = async function globalTeardown() {
74- if (config .Memory ) { // Config to decided if an mongodb-memory-server instance should be used
74+ if (config .Memory ) { // Config to decide if an mongodb-memory-server instance should be used
7575 const instance: MongoMemoryServer = (global as any ).__MONGOINSTANCE ;
7676 await instance .stop ();
7777 }
You can’t perform that action at this time.
0 commit comments