Skip to content

Commit c7d9cb5

Browse files
authored
Merge pull request #171 from jenlky/master
Update global mongoDBName to jest-mongodb-config instance dbName
2 parents 7c7293f + 7358f07 commit c7d9cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = async () => {
1313
}
1414

1515
const mongoConfig = {
16-
mongoDBName: 'jest',
16+
mongoDBName: getMongodbMemoryOptions().instance.dbName,
1717
mongoUri: await mongod.getConnectionString()
1818
};
1919

0 commit comments

Comments
 (0)