jest

React end-to-end testing using Jest and Puppeteer

This React end-to-end testing tutorial demonstrates with practical examples how to use Jest and Puppeteer to test features in a React app.
Yomi Eluwande
10 min read

Testing apps with Jest and React Testing Library

Learn how to test React applications with Jest and React Testing Library, a popular combination and official recommendation from React.
Juan Cruz Martinez
7 min read

Jest and Enzyme: Unit testing in React in 2021

Using Jest and Enzyme, here's how to build unit tests for React and reliably test component trees and functions.
Andrew Evans
4 min read

Using Jest for React screenshot testing

Having trouble deciding between Jest and React for snapshot testing? Take a look at this comparison of the two to help you decide.
Alexander Solovyev
3 min read

User behavior testing with React Native Testing Library

Testing user behavior is crucial for delivering great products, and React Native Testing Library makes it a joy.
Zain Sajjad
5 min read

Jest testing: Top features and how to use them

Jest is not only powerful, but also elevates framework testing to a whole new level. Here's how you can use Jest to its full...
Alberto Gimeno
6 min read

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