11 lines
254 B
TypeScript
11 lines
254 B
TypeScript
import React from 'react';
|
|
import renderer from 'react-test-renderer';
|
|
import { it } from '@jest/globals';
|
|
|
|
import App from '../src/app';
|
|
|
|
it('renders correctly', () => {
|
|
const tree = renderer.create(<App />).toJSON();
|
|
expect(tree).toBeTruthy();
|
|
});
|