From 1d2773cbf4c15fd5b1384f7bd993edb63a460c3a Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 28 Jan 2019 01:59:42 -0500 Subject: use React; impl the prototype --- src/App.test.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 src/App.test.js (limited to 'src/App.test.js') diff --git a/src/App.test.js b/src/App.test.js new file mode 100755 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); +}); -- cgit v1.2.3