JS Unit Testing Made Easy
Getting a high coverage rate in Javascript apps can be easier than you think. In the last two years, Jest has become so much faster and useful for testing everything JS related. Before then, you had to pull in other libaries (such as sinon) to get spies, test coverage reporting, and more.
I'm going to go over the process of building a single test case th…
Keep reading with a 7-day free trial
Subscribe to zach.codes to keep reading this post and get 7 days of free access to the full post archives.