colouring-montreal/app/src/frontend/app.test.tsx

18 lines
406 B
TypeScript
Raw Normal View History

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>
<App />
</MemoryRouter>,
div
);
});
});