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";
12 import { MuiThemeProvider } from '@material-ui/core/styles';
13 import { CustomTheme } from '../../common/custom-theme';
15 const history = createBrowserHistory();
17 it('renders without crashing', () => {
18 const div = document.createElement('div');
19 const store = configureStore(createBrowserHistory());
21 <MuiThemeProvider theme={CustomTheme}>
22 <Provider store={store}>
23 <ConnectedRouter history={history}>
29 ReactDOM.unmountComponentAtNode(div);