DEV Community

# jest

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Unit Testing with Jest and Rewire in JavaScript

Unit Testing with Jest and Rewire in JavaScript

2
Comments
2 min read
I Learned Promise Chaining (and more!) from Error Testing my SVG Logo Generator.

I Learned Promise Chaining (and more!) from Error Testing my SVG Logo Generator.

1
Comments 6
3 min read
Mastering Jest: A Complete Guide to Testing Next.js Applications Part-2

Mastering Jest: A Complete Guide to Testing Next.js Applications Part-2

13
Comments 1
10 min read
Mastering Jest: A Complete Guide to Testing Next.js Applications Part-1

Mastering Jest: A Complete Guide to Testing Next.js Applications Part-1

7
Comments 1
5 min read
Create your own NPM package using TypeScript, Prettier, Eslint and Jest

Create your own NPM package using TypeScript, Prettier, Eslint and Jest

12
Comments
6 min read
You should repeat yourself when writing tests

You should repeat yourself when writing tests

2
Comments
3 min read
Set up a Node.js project + TypeScript + Jest using ES Modules

Set up a Node.js project + TypeScript + Jest using ES Modules

32
Comments 5
2 min read
Create a react app using Vite - Part 3

Create a react app using Vite - Part 3

1
Comments
2 min read
How React uses pragmas to run tests conditionally

How React uses pragmas to run tests conditionally

Comments
8 min read
Should you use jest as a testing library?

Should you use jest as a testing library?

Comments
4 min read
Configure jest in your project REact with vite

Configure jest in your project REact with vite

2
Comments
2 min read
Mock PrimeNg ChartModule con Spectator

Mock PrimeNg ChartModule con Spectator

Comments
2 min read
Jest errors with solutions

Jest errors with solutions

11
Comments
4 min read
Test? When to test?

Test? When to test?

4
Comments
2 min read
Mock localized strings in SPFx solutions

Mock localized strings in SPFx solutions

Comments
1 min read
Jest + React component

Jest + React component

1
Comments
2 min read
Using Jest for the first time? Here's all you need to know

Using Jest for the first time? Here's all you need to know

3
Comments
4 min read
React Testing library setup with vite

React Testing library setup with vite

4
Comments 3
1 min read
How to Mock Bugsnag in jest.setup.js

How to Mock Bugsnag in jest.setup.js

2
Comments
1 min read
How to test an async function to throw an exception in Jest

How to test an async function to throw an exception in Jest

32
Comments 3
2 min read
Installing Jest for Testing in Your Vite-React TypeScript Project. A Step-by-Step Guide.

Installing Jest for Testing in Your Vite-React TypeScript Project. A Step-by-Step Guide.

174
Comments 28
4 min read
How to mock useSearchParams() and useRouter() with Jest in Next 13 (next/navigation)

How to mock useSearchParams() and useRouter() with Jest in Next 13 (next/navigation)

21
Comments 3
7 min read
Using searchParams, useSearchParams and useRouter in Next 13

Using searchParams, useSearchParams and useRouter in Next 13

30
Comments 2
7 min read
How to mock URLSearchParams and searchParams with Jest

How to mock URLSearchParams and searchParams with Jest

7
Comments
6 min read
Angular Unit Testing inject() without TestBed

Angular Unit Testing inject() without TestBed

4
Comments
2 min read
loading...