mirror of
https://github.com/franjsco/tomadoro
synced 2025-01-19 00:39:48 +01:00
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);
|
||
|
});
|