Summary: Basic introduction to writing MongoDB unit tests using Mocha/Chai. (Sample test file below)
Prerequisite: This post assumes you have a basic understanding of MongoDB…