Tag: JavaScript
How to test a class method with Jest
September 1, 2020 · 1 min read
Shot explanation of how to test a class method with Jest.
How to drop all collections in a MongoDB database using Mongoose
August 19, 2020 · 1 min read
Drop all collections with Mongoose.
TLDR JavaScript module formats
August 19, 2020 · 1 min read
Since JavaScript didn't use to have a core feature in the language that supports modules, a few different module formats have emerged.