11
|
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 |
}); |