10 lines
248 B
JavaScript
10 lines
248 B
JavaScript
|
import React from 'react';
|
||
|
import ReactDOM from 'react-dom';
|
||
|
import App from './App';
|
||
|
|
||
|
it('renders without crashing', () => {
|
||
|
const div = document.createElement('div');
|
||
|
ReactDOM.render(<App />, div);
|
||
|
ReactDOM.unmountComponentAtNode(div);
|
||
|
});
|