15672: Fixes a couple tests.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Fri, 20 Dec 2019 20:55:02 +0000 (17:55 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Fri, 20 Dec 2019 20:55:02 +0000 (17:55 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

src/store/auth/auth-action.test.ts
src/views/workbench/workbench.test.tsx

index f7aa5c4c9f630abcddbbe1355cb90368f8005b0b..d126d9caeb52f519e2b643be84384311765cfa5e 100644 (file)
@@ -8,7 +8,7 @@ import { API_TOKEN_KEY } from "~/services/auth-service/auth-service";
 import 'jest-localstorage-mock';
 import { ServiceRepository, createServices } from "~/services/services";
 import { configureStore, RootStore } from "../store";
-import createBrowserHistory from "history/createBrowserHistory";
+import { createBrowserHistory } from "history";
 import { mockConfig } from '~/common/config';
 import { ApiActions } from "~/services/api/api-actions";
 import { ACCOUNT_LINK_STATUS_KEY } from '~/services/link-account-service/link-account-service';
index 29eed6023762007273abec55a6b930ec156913d4..645b8aaed3b9b46ed02b72a13b4bd89da8881258 100644 (file)
@@ -7,7 +7,7 @@ import * as ReactDOM from 'react-dom';
 import { WorkbenchPanel } from './workbench';
 import { Provider } from "react-redux";
 import { configureStore } from "~/store/store";
-import createBrowserHistory from "history/createBrowserHistory";
+import { createBrowserHistory } from "history";
 import { ConnectedRouter } from "react-router-redux";
 import { MuiThemeProvider } from '@material-ui/core/styles';
 import { CustomTheme } from '~/common/custom-theme';