diff options
Diffstat (limited to 'modern/src/App.test.js')
-rw-r--r-- | modern/src/App.test.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modern/src/App.test.js b/modern/src/App.test.js new file mode 100644 index 00000000..a754b201 --- /dev/null +++ b/modern/src/App.test.js @@ -0,0 +1,9 @@ +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); +}); |