diff --git a/template/__tests__/App.test.tsx b/template/__tests__/App.test.tsx index e532f70..92a8ebc 100644 --- a/template/__tests__/App.test.tsx +++ b/template/__tests__/App.test.tsx @@ -4,6 +4,7 @@ import React from 'react'; import ReactTestRenderer from 'react-test-renderer'; +import { test } from "@jest/globals"; import App from '../App'; test('renders correctly', async () => { diff --git a/template/package.json b/template/package.json index e07c125..ebb7093 100644 --- a/template/package.json +++ b/template/package.json @@ -17,6 +17,7 @@ "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.3", "@babel/runtime": "^7.25.0", + "@jest/globals": "^29.7.0", "@react-native-community/cli": "15.0.1", "@react-native-community/cli-platform-android": "15.0.1", "@react-native-community/cli-platform-ios": "15.0.1",