X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=src%2FApp.test.js;fp=src%2FApp.test.js;h=a754b201bf9c6caf5271293588189fb4210f99d1;hb=71f81b4555b0830ddf20f5ea901b0d4b34be253c;hp=0000000000000000000000000000000000000000;hpb=5a6fdde528dcff44c86f73709ed54916a769222e;p=puzzless diff --git a/src/App.test.js b/src/App.test.js new file mode 100644 index 0000000..a754b20 --- /dev/null +++ b/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(, div); + ReactDOM.unmountComponentAtNode(div); +});