Skip to content

Commit

Permalink
test: replicate tests for mongodb driver v2, v3, v4
Browse files Browse the repository at this point in the history
  • Loading branch information
gusth-sa authored and hishank committed Aug 13, 2024
1 parent 9c64b88 commit 28f9219
Show file tree
Hide file tree
Showing 4 changed files with 1,775 additions and 149 deletions.
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ module.exports = {
clearMocks: true,
collectCoverageFrom: ['src/**/*.js'],
testEnvironment: 'node',
moduleNameMapper: {
'^mongodbMapped$': `mongodb${process.env.DRIVER_VERSION || ''}`,
},
testTimeout: 15000,
};
Loading

0 comments on commit 28f9219

Please sign in to comment.