Testing Node.js + Mongoose with an in-memory database
In this article I'll tell you how to use an in-memory MongoDB process to test your mongoose logic without having to create any mocks. 
Tags: node, mongodb, mongoose, jest