DEV Community

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

Collapse
 
tperrinweembi profile image
tperrin

Simply move the create() into the connect method. Thanks! (answer from this article : dev.to/paulasantamaria/testing-nod...)