NodeJS: Testing with Jest vs Mocha on Typescript in 2021

Friedrich Politz
3 min readFeb 18, 2021

New year, new me. This is the moment when we as developers run a quick check if our stack is still as good of a decision as it was last year. Since I use Jest and Mocha through most of my day-to-day work, I will only look at those two for today. But, of course, Jasmine and AVA are great options as well.

That being said, let’s set the mood with an ambient stock photo and jump aboard the comparison train!

Photo by Louis Reed on Unsplash

--

--

Friedrich Politz

Engineering Manager and code junkie by day, hobby chef, musician and learning enthusiast by night.