
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@react-native/jest-preset
Advanced tools
Jest preset for React Native apps.
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
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.
jest-expo is a Jest preset for Expo projects, which are a subset of React Native applications. It provides similar functionalities to @react-native/jest-preset but is tailored specifically for Expo, including additional configurations for Expo-specific modules and APIs.
react-native-testing-library is a testing utility for React Native that provides helpers for testing React Native components. While it does not provide a Jest preset, it complements @react-native/jest-preset by offering utilities to render and interact with components in a test environment.
metro-react-native-babel-preset is a Babel preset for React Native projects. While it focuses on Babel configuration rather than Jest, it is often used alongside @react-native/jest-preset to ensure that JavaScript code is transpiled correctly for both development and testing.
FAQs
Jest preset for React Native apps
The npm package @react-native/jest-preset receives a total of 1,431,045 weekly downloads. As such, @react-native/jest-preset popularity was classified as popular.
We found that @react-native/jest-preset demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.