9 lines
269 B
JavaScript
9 lines
269 B
JavaScript
import React from 'react';
|
|
import { render } from '@testing-library/react';
|
|
import App from './App';
|
|
|
|
test('renders app without crashing', () => {
|
|
const { getByTestId } = render(<App />);
|
|
const AppDiv = getByTestId('App');
|
|
expect(AppDiv).toBeInTheDocument();
|
|
});
|