From 27f903d5e3aa7f1c936808d0a7be37a70283516f Mon Sep 17 00:00:00 2001 From: Daniel Kos Date: Thu, 2 Aug 2018 09:16:00 +0200 Subject: [PATCH] Fix test passing Feature #13901 Arvados-DCO-1.1-Signed-off-by: Daniel Kos --- src/store/auth/auth-actions.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/store/auth/auth-actions.test.ts b/src/store/auth/auth-actions.test.ts index dc399cfc..1ded88ea 100644 --- a/src/store/auth/auth-actions.test.ts +++ b/src/store/auth/auth-actions.test.ts @@ -3,7 +3,7 @@ // SPDX-License-Identifier: AGPL-3.0 import { authReducer, AuthState } from "./auth-reducer"; -import { AuthAction, authActions, initAuth } from "./auth-action"; +import { AuthAction, initAuth } from "./auth-action"; import { API_TOKEN_KEY, USER_EMAIL_KEY, @@ -16,7 +16,7 @@ import { import 'jest-localstorage-mock'; import { createServices } from "../../services/services"; import { configureStore, RootStore } from "../store"; -import createBrowserHistory from "../../../node_modules/@types/history/createBrowserHistory"; +import createBrowserHistory from "history/createBrowserHistory"; describe('auth-actions', () => { let reducer: (state: AuthState | undefined, action: AuthAction) => any; @@ -51,6 +51,7 @@ describe('auth-actions', () => { }); }); + // TODO: Add remaining action tests /* it('should fire external url to login', () => { const initialState = undefined; -- 2.30.2