infomatrix/__tests__/App.test.tsx
Alex Stan 18425e4e98 Initialise react native project
Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
2024-05-31 16:54:42 +03:00

18 lines
364 B
TypeScript

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