Skip to content

Commit 28f9219

Browse files
gusth-sahishank
authored andcommitted
test: replicate tests for mongodb driver v2, v3, v4
1 parent 9c64b88 commit 28f9219

File tree

4 files changed

+1775
-149
lines changed

4 files changed

+1775
-149
lines changed

jest.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@ module.exports = {
22
clearMocks: true,
33
collectCoverageFrom: ['src/**/*.js'],
44
testEnvironment: 'node',
5+
moduleNameMapper: {
6+
'^mongodbMapped$': `mongodb${process.env.DRIVER_VERSION || ''}`,
7+
},
8+
testTimeout: 15000,
59
};

0 commit comments

Comments
 (0)