aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/App.test.js
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-16 22:25:50 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-16 22:25:50 +0200
commitead4511250deb877e1867c2e38cbee9c27deb299 (patch)
tree09572e68634c7241eff7cb65bf94c02a6aac9a50 /webui/src/App.test.js
parentd659d74131996cea06e39f90114e21b36e61f6fc (diff)
downloadgit-bug-ead4511250deb877e1867c2e38cbee9c27deb299.tar.gz
add the infrastructure for an embedded web UI + command
Diffstat (limited to 'webui/src/App.test.js')
-rw-r--r--webui/src/App.test.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/webui/src/App.test.js b/webui/src/App.test.js
new file mode 100644
index 00000000..a754b201
--- /dev/null
+++ b/webui/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);
+});