@react-native-community/template 0.77.0-nightly-2024927-75eb41c → 0.77.0-nightly-2024927-471c419

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-community/template",
3
- "version": "0.77.0-nightly-2024927-75eb41c",
3
+ "version": "0.77.0-nightly-2024927-471c419",
4
4
  "description": "The template used by `npx @react-native-community/cli init` to bootstrap a React Native application.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -2,17 +2,11 @@
2
2
  * @format
3
3
  */
4
4
 
5
- import 'react-native';
6
5
  import React from 'react';
7
- import App from '../App';
8
-
9
- // Note: import explicitly to use the types shipped with jest.
10
- import {it} from '@jest/globals';
11
-
12
- // Note: test renderer must be required after react-native.
13
6
  import ReactTestRenderer from 'react-test-renderer';
7
+ import App from '../App';
14
8
 
15
- it('renders correctly', async () => {
9
+ test('renders correctly', async () => {
16
10
  await ReactTestRenderer.act(() => {
17
11
  ReactTestRenderer.create(<App />);
18
12
  });
@@ -24,6 +24,7 @@
24
24
  "@react-native/eslint-config": "nightly",
25
25
  "@react-native/metro-config": "nightly",
26
26
  "@react-native/typescript-config": "nightly",
27
+ "@types/jest": "^29.5.13",
27
28
  "@types/react": "^18.2.6",
28
29
  "@types/react-test-renderer": "^18.0.0",
29
30
  "eslint": "^8.19.0",