diff options
author | Determinant <ted.sybil@gmail.com> | 2019-01-28 01:59:42 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-01-28 01:59:42 -0500 |
commit | 1d2773cbf4c15fd5b1384f7bd993edb63a460c3a (patch) | |
tree | 279aaa50a9f6189cd50bb6ad0207b93a44049929 /src/App.test.js | |
parent | 9eec5b0d0ca748a73abe23511688bbba9b906c22 (diff) |
use React; impl the prototype
Diffstat (limited to 'src/App.test.js')
-rwxr-xr-x | src/App.test.js | 9 |
1 files changed, 9 insertions, 0 deletions
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(<App />, div); + ReactDOM.unmountComponentAtNode(div); +}); |