1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import * as React from 'react';
6 import * as ReactDOM from 'react-dom';
7 import Workbench from '../../views/workbench/workbench';
8 import { Provider } from "react-redux";
9 import configureStore from "../../store/store";
10 import createBrowserHistory from "history/createBrowserHistory";
11 import { ConnectedRouter } from "react-router-redux";
13 const history = createBrowserHistory();
15 it('renders without crashing', () => {
16 const div = document.createElement('div');
17 const store = configureStore({
23 router: { location: null },
26 }, createBrowserHistory());
28 <Provider store={store}>
29 <ConnectedRouter history={history}>
34 ReactDOM.unmountComponentAtNode(div);