mongodb-in-memory
MongoDB compatible in-memory database for unit testing using TingoDB.
This package is a thin wrapper around TingoDB. It converts TingoDb's API to Promise API and adds methods that you can find in the MongoDB Node.js package to the collection.
Usage
const db = { const users = db const userId = await usersinsertedId const user = await users await users}