Skip to content

Commit

Permalink
Update mongoDBName to jest-mongodb-config instance dbName
Browse files Browse the repository at this point in the history
  • Loading branch information
jenlky committed Sep 19, 2019
1 parent 7c7293f commit 7358f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = async () => {
}

const mongoConfig = {
mongoDBName: 'jest',
mongoDBName: getMongodbMemoryOptions().instance.dbName,
mongoUri: await mongod.getConnectionString()
};

Expand Down

0 comments on commit 7358f07

Please sign in to comment.