Perfect_Draft-App_Test-reac.../__tests__/App.test.tsx

18 lines
364 B
TypeScript
Raw Normal View History

/**
* @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 />);
});