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({ projects: [], router: { location: null }, auth: {} }, createBrowserHistory());
19 <Provider store={store}>
20 <ConnectedRouter history={history}>
25 ReactDOM.unmountComponentAtNode(div);