2018-09-09 17:22:44 -04:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import { MemoryRouter } from 'react-router-dom';
|
|
|
|
|
2021-02-08 11:03:30 -05:00
|
|
|
import { App } from './app';
|
2018-09-09 17:22:44 -04:00
|
|
|
|
|
|
|
describe('<App />', () => {
|
2019-05-27 11:39:16 -04:00
|
|
|
test('renders without exploding', () => {
|
|
|
|
const div = document.createElement('div');
|
|
|
|
ReactDOM.render(
|
|
|
|
<MemoryRouter>
|
2021-02-22 01:59:24 -05:00
|
|
|
<App revisionId="0" />
|
2019-05-27 11:39:16 -04:00
|
|
|
</MemoryRouter>,
|
|
|
|
div
|
|
|
|
);
|
|
|
|
});
|
2018-09-09 17:22:44 -04:00
|
|
|
});
|