2018-09-09 17:22:44 -04:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import { MemoryRouter } from 'react-router-dom';
|
|
|
|
|
|
|
|
import App from './app';
|
|
|
|
|
|
|
|
describe('<App />', () => {
|
2019-05-27 11:39:16 -04:00
|
|
|
test('renders without exploding', () => {
|
|
|
|
const div = document.createElement('div');
|
|
|
|
ReactDOM.render(
|
|
|
|
<MemoryRouter>
|
2019-10-29 12:56:49 -04:00
|
|
|
<App revisionId={0} />
|
2019-05-27 11:39:16 -04:00
|
|
|
</MemoryRouter>,
|
|
|
|
div
|
|
|
|
);
|
|
|
|
});
|
2018-09-09 17:22:44 -04:00
|
|
|
});
|