DEV Community

# jest

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
4. Testing (async) searchParams with Jest in Next 15

4. Testing (async) searchParams with Jest in Next 15

Comments
6 min read
3. How to setup Jest in a Next 15 project (+ eslint for testing)

3. How to setup Jest in a Next 15 project (+ eslint for testing)

Comments
6 min read
Sharding Jest tests. Harder than it should be?

Sharding Jest tests. Harder than it should be?

Comments
3 min read
Migration from Jest to Vitest: A Real-World Experience with 2900+ Tests

Migration from Jest to Vitest: A Real-World Experience with 2900+ Tests

Comments
1 min read
Mocking with Jest and typescript - a cheatsheet

Mocking with Jest and typescript - a cheatsheet

2
Comments
4 min read
Mastering Jest: A Guide to Efficient JavaScript Testing

Mastering Jest: A Guide to Efficient JavaScript Testing

Comments
1 min read
Mastering Testing in React with Jest and React Testing Library

Mastering Testing in React with Jest and React Testing Library

Comments
4 min read
Testes Unitários com Jest

Testes Unitários com Jest

Comments
5 min read
5. Mocking usePathName, useSearchParams and useRouter with Jest in Next 15

5. Mocking usePathName, useSearchParams and useRouter with Jest in Next 15

1
Comments
11 min read
🛠️ Writing Reliable Code from the Ground Up !

🛠️ Writing Reliable Code from the Ground Up !

4
Comments 2
6 min read
How To Test Your JavaScript Application With Jest Framework?

How To Test Your JavaScript Application With Jest Framework?

1
Comments
1 min read
Exploring Snapshot Testing in Jest: Pros and Cons

Exploring Snapshot Testing in Jest: Pros and Cons

Comments
3 min read
Implementing CI with GitHub Actions Workflow

Implementing CI with GitHub Actions Workflow

1
Comments
2 min read
How to write jest test cases for react component?

How to write jest test cases for react component?

4
Comments
4 min read
Testing LLM Applications: Misadventures in Mocking SDKs vs Direct HTTP Requests

Testing LLM Applications: Misadventures in Mocking SDKs vs Direct HTTP Requests

1
Comments
3 min read
Creating tests in real database with NestJS, TypeORM and PostgreSQL

Creating tests in real database with NestJS, TypeORM and PostgreSQL

1
Comments
2 min read
Let’s Make Jest Run Much Faster

Let’s Make Jest Run Much Faster

1
Comments
5 min read
Testing and Debugging: Basic Tools and Techniques for Effective Full-Stack Tests

Testing and Debugging: Basic Tools and Techniques for Effective Full-Stack Tests

Comments
3 min read
Comparing Jest, React Testing Library, and Playwright: Testing Approaches for React Applications

Comparing Jest, React Testing Library, and Playwright: Testing Approaches for React Applications

1
Comments 1
2 min read
Error in Jest integration with Vue js

Error in Jest integration with Vue js

Comments
1 min read
Declarative Programming

Declarative Programming

Comments
4 min read
Maximize a Performance dos Seus Testes com Jest e Vitest

Maximize a Performance dos Seus Testes com Jest e Vitest

1
Comments
4 min read
Introduction to Jest: Unit Testing, Mocking, and Asynchronous Code

Introduction to Jest: Unit Testing, Mocking, and Asynchronous Code

2
Comments 1
8 min read
Testing environment with a local Mongo database

Testing environment with a local Mongo database

Comments
5 min read
Testing a Next.js App with React Testing Library & Jest

Testing a Next.js App with React Testing Library & Jest

Comments
1 min read
Migrating from Jest to Vitest: A Step-by-Step Guide

Migrating from Jest to Vitest: A Step-by-Step Guide

1
Comments
5 min read
Mocking Network Requests Made Easy: Integrating Jest and MSW

Mocking Network Requests Made Easy: Integrating Jest and MSW

3
Comments
10 min read
My Second Hacktoberfest Adventure: Testing with Jest (For the First Time!) 🎉

My Second Hacktoberfest Adventure: Testing with Jest (For the First Time!) 🎉

1
Comments
3 min read
Speed Up Your Tests with Jest and Vitest

Speed Up Your Tests with Jest and Vitest

2
Comments
4 min read
🧪 Setup Jest with (Webpack, Vite)

🧪 Setup Jest with (Webpack, Vite)

2
Comments
4 min read
Setting Up Your E2E Testing Framework with Pactum and Jest

Setting Up Your E2E Testing Framework with Pactum and Jest

1
Comments
1 min read
Unit Testing React Components with Jest

Unit Testing React Components with Jest

Comments
2 min read
My experience with Units Tests using Jest JS

My experience with Units Tests using Jest JS

Comments
1 min read
How to Test Functions That Return Functions in TypeScript with Jest

How to Test Functions That Return Functions in TypeScript with Jest

3
Comments
3 min read
Setup Jest in a typescript React project

Setup Jest in a typescript React project

Comments
2 min read
Fixing Jest import failure

Fixing Jest import failure

Comments
1 min read
Strategies for Writing More Testable Code - An Imperative Approach

Strategies for Writing More Testable Code - An Imperative Approach

4
Comments
5 min read
Estratégias para escrever código com maior testabilidade - uma análise imperativa

Estratégias para escrever código com maior testabilidade - uma análise imperativa

5
Comments
6 min read
Where does return render( <UserProvider> etc go in a test.js jest file?

Where does return render( <UserProvider> etc go in a test.js jest file?

Comments 1
1 min read
Mastering Jest in Next.js: A Complete Guide for App Router and TypeScript 🚀

Mastering Jest in Next.js: A Complete Guide for App Router and TypeScript 🚀

6
Comments
3 min read
Jest Recap: What Runs When?

Jest Recap: What Runs When?

Comments
3 min read
The Case Against Mocking Libraries

The Case Against Mocking Libraries

Comments 2
3 min read
Writing integration tests with jest and puppeteer

Writing integration tests with jest and puppeteer

2
Comments
4 min read
How to Run Jest Unit Tests in a Typescript Project

How to Run Jest Unit Tests in a Typescript Project

2
Comments
2 min read
Mock functions in individual tests using Jest

Mock functions in individual tests using Jest

3
Comments
6 min read
Solving the Jest Native Module Error in a React Native Expo Project

Solving the Jest Native Module Error in a React Native Expo Project

2
Comments
2 min read
The Power of Jest and React Native Testing Library Combined

The Power of Jest and React Native Testing Library Combined

4
Comments
3 min read
JEST: DeepMind’s JEST: DeepMind’s Breakthrough for AI Training Efficiency

JEST: DeepMind’s JEST: DeepMind’s Breakthrough for AI Training Efficiency

Comments
2 min read
Are you writing test for the first time? This might help.

Are you writing test for the first time? This might help.

11
Comments 2
3 min read
Entendendo as Nomenclaturas getBy..., findBy... e queryBy... no Jest

Entendendo as Nomenclaturas getBy..., findBy... e queryBy... no Jest

1
Comments
2 min read
Testing Callback Functions with Jest

Testing Callback Functions with Jest

3
Comments
2 min read
Diferenças entre o jest.spyOn e jest.mock

Diferenças entre o jest.spyOn e jest.mock

4
Comments
3 min read
Mock Class Constructor in Jest Test with Mocking Partials

Mock Class Constructor in Jest Test with Mocking Partials

2
Comments
2 min read
Three Important Things I Learned While Jest Testing My Next.js Application

Three Important Things I Learned While Jest Testing My Next.js Application

3
Comments
3 min read
Ensuring the Quality of Your App with Testing in React Native

Ensuring the Quality of Your App with Testing in React Native

10
Comments
5 min read
Como Escrever Testes Unitários para Serviços Backend com Dependências de Banco de Dados Usando SQLite In-Memory

Como Escrever Testes Unitários para Serviços Backend com Dependências de Banco de Dados Usando SQLite In-Memory

1
Comments
4 min read
Mocking navigator.clipboard.writeText in Jest

Mocking navigator.clipboard.writeText in Jest

3
Comments
2 min read
Test if a promise throw an Error

Test if a promise throw an Error

Comments
1 min read
Utilização e Benefícios do Rerender em Testes de Componentes React com Jest e React Testing Library

Utilização e Benefícios do Rerender em Testes de Componentes React com Jest e React Testing Library

2
Comments
3 min read
Testes unitários em React com Jest e testing library

Testes unitários em React com Jest e testing library

1
Comments
9 min read
loading...