Over the past couple of days, I have been working to complete freeCodeCamp’s issue tracker project. I’m using MongoDB as the database and relying on Mongoose to model the data. Since I have been learning about testing lately, I wanted to write unit tests for the simple wrapper I wrote around Mongoose to add, update and remove issues to the database.