DEV Community

Discussion on: Setup in-memory database for testing Node.js and Mongoose

Collapse
 
ryuuto829 profile image
Dmytro Rykhlyk • Edited

Thank you!
It's hard for me to give you some concrete advice, I'm still learning how to write tests :) For my small project though, I've tried to write tests for each API endpoint using superset, Jest and mongodb-memory-server official documentations along with some examples.