2019-04-10 11:45:16 +08:00

11 lines
283 B
JavaScript

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