jest-mongo
Jest preset for running tests with MongoDB memory server.
Usage
Install preset:
npm i -D @xpr/jest-mongo
Add the installed preset to your jest
configuration file:
module.exports = {
preset: '@xpr/jest-mongo',
...
}
Jest preset for running tests with MongoDB memory server.
Install preset:
npm i -D @xpr/jest-mongo
Add the installed preset to your jest
configuration file:
module.exports = {
preset: '@xpr/jest-mongo',
...
}
npm i @xpr/jest-mongo
1
0.0.1
MIT
5.21 kB
14