diff --git a/private/helloworld/jest.config.js b/private/helloworld/jest.config.js index 26ef92b73ce..3b10bdf375d 100644 --- a/private/helloworld/jest.config.js +++ b/private/helloworld/jest.config.js @@ -9,5 +9,5 @@ */ module.exports = { - preset: 'react-native', + preset: '@react-native/jest-preset', }; diff --git a/private/helloworld/package.json b/private/helloworld/package.json index 63cdc897f1e..d75b1f9e56a 100644 --- a/private/helloworld/package.json +++ b/private/helloworld/package.json @@ -22,6 +22,7 @@ "@react-native/babel-preset": "0.87.0-main", "@react-native/core-cli-utils": "*", "@react-native/eslint-config": "0.87.0-main", + "@react-native/jest-preset": "0.87.0-main", "@react-native/metro-config": "0.87.0-main", "@react-native/typescript-config": "0.87.0-main", "@types/jest": "^29.5.14",