From ead4511250deb877e1867c2e38cbee9c27deb299 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 16 Jul 2018 22:25:50 +0200 Subject: add the infrastructure for an embedded web UI + command --- webui/src/App.test.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 webui/src/App.test.js (limited to 'webui/src/App.test.js') 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(, div); + ReactDOM.unmountComponentAtNode(div); +}); -- cgit