Andrea Campanella | 362b7d3 | 2018-12-11 18:57:12 +0100 | [diff] [blame] | 1 | import React from 'react'; |
2 | import ReactDOM from 'react-dom'; | ||||
3 | import App from './App'; | ||||
4 | |||||
5 | it('renders without crashing', () => { | ||||
6 | const div = document.createElement('div'); | ||||
7 | ReactDOM.render(<App />, div); | ||||
8 | ReactDOM.unmountComponentAtNode(div); | ||||
9 | }); |