()
| 8 | let mongoConnectionOptions: mongoose.ConnectOptions = {} |
| 9 | |
| 10 | const connectToDevDB = async () => { |
| 11 | const mongod = new MongoMemoryServer() |
| 12 | await mongod.start() |
| 13 | mongoDBConnection = mongod.getUri() |
| 14 | } |
| 15 | |
| 16 | const connectToProdDB = () => { |
| 17 | mongoDBConnection = MONGO_PRIVATE_URL |