New:Socket for Asana Is Now Available.Learn more
Get Started

@react-native/jest-preset

Package Overview
Dependencies
Maintainers
2
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native/jest-preset

Jest preset for React Native apps

latest
Source
npmnpm
Version
0.87.1
Version published
Weekly downloads
1.8M
-16.44%
Maintainers
2
Weekly downloads
 
Created
Source

@react-native/jest-preset

npm npm downloads

Jest preset for React Native apps.

Usage

Installation

Install @react-native/jest-preset in your app:

with npm:

npm i @react-native/jest-preset --save-dev

or with yarn:

yarn add -D @react-native/jest-preset

Configuring Jest

Then, create a file called jest.config.js in your project's root directory. Then load this preset:

module.exports = {
  preset: '@react-native/jest-preset',
};

You can further customize your Jest configuration by specifying other options. See Jest's jest.config.js documentation to learn more.

Keywords

jest

FAQs

Package last updated on 26 Aug 2026

Related posts