alchemy-jest-slack-reporter
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "alchemy-jest-slack-reporter", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "", | ||
@@ -11,3 +11,7 @@ "main": "Reporter.js", | ||
"superagent": "^5.2.2" | ||
}, | ||
"peerDependencies": { | ||
"mongodb-memory-server": "^6.5.0", | ||
"mongoose": "^5.9.6" | ||
} | ||
} |
@@ -5,7 +5,7 @@ require('dotenv').config(); | ||
const mongod = new MongoMemoryServer(); | ||
const connect = require('./lib/utils/connect'); | ||
const mongoose = require('mongoose'); | ||
module.exports = async() => { | ||
global.__MONGOD__ = mongod; | ||
return connect(await mongod.getUri()); | ||
return mongoose.connect(await mongod.getUri()); | ||
}; |
1387
3