DEV Community

loading...

Discussion on: Testing Node.js + Mongoose with an in-memory database

Collapse
paulasantamaria profile image
Paula Santamaría Author

Hi Luis!
I haven't tried it myself yet, but apparently mongodb-memory-server does support multi-document transactions. However, for that to work, you must start the mongodb server as a replica set