๐Ÿ“ฆ Abbondanzo / ScreensDemo

๐Ÿ“„ App.test.tsx ยท 18 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18/**
 * @format
 */

import 'react-native';
import React from 'react';
import App from '../App';

// Note: import explicitly to use the types shipped with jest.
import {it} from '@jest/globals';

// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';

it('renders correctly', () => {
  renderer.create(<App />);
});