2020-01-07 20:19:11 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { render } from '@testing-library/react';
|
|
|
|
import App from './App';
|
|
|
|
|
2020-01-16 02:13:42 +00:00
|
|
|
test('renders app without crashing', () => {
|
|
|
|
const { getByTestId } = render(<App />);
|
|
|
|
const AppDiv = getByTestId('App');
|
|
|
|
expect(AppDiv).toBeInTheDocument();
|
2020-01-07 20:19:11 +00:00
|
|
|
});
|