hosunsin/__tests__/App.test.tsx

18 lines
363 B
TypeScript
Raw Permalink Normal View History

2024-02-26 22:18:39 +08:00
/**
* @format
*/
import 'react-native';
import React from 'react';
import App from '../App';
// Note: import explicitly to use the types shiped 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 />);
});