jest

Unit testing NestJS applications with Jest

NestJS forces us to write more easily testable code through its built-in dependency injection, which makes unit testing with Jest a painless process.
Maciej Cieślar
12 min read

Run faster tests in Node.js with Baretest

Baretest is a minimal, fast, simple JavaScript test runner. If you currently use Jest, see what you stand to gain (or lose) by trying...
Abdulazeez Abdulazeez Adeshina
5 min read

Automated visual regression testing with Jest

Visually checking that your app appears as your designers intended was traditionally a manual process. No more: automate visual regression testing with Jest.
Timothy Vernon
6 min read

Comparing React testing libraries

It's not enough to simply test your application before it goes into production. You must choose the correct React testing library to ensure you're...
Murat Çatal
10 min read

Refactoring legacy code with Jest snapshots

Snapshot testing is immensely popular for testing React apps or other component-based UIs. However, it’s not exactly drama-free — many people looooove snapshots for their ease...
Benjamin Johnson
6 min read

Testing with Jest: From zero to hero

I’ve been a regular user of Jest for quite some time. Originally, I used it like any other test runner but in some cases,...
Alberto Gimeno
5 min read

End-to-end testing React apps with Puppeteer and Jest

In this tutorial, we’ll see how to write tests for a React app using Jest and Puppeteer. Testing is an important part of modern...
Yomi Eluwande
10 min read