X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/5a7f3f56fc39ab231982435d29b8f15e819748fe..f0d519637c997df11d5b1a1b32b3d9e4a2872325:/src/store/auth/auth-reducer.test.ts diff --git a/src/store/auth/auth-reducer.test.ts b/src/store/auth/auth-reducer.test.ts index 28cfbb2e..8eeb7c3c 100644 --- a/src/store/auth/auth-reducer.test.ts +++ b/src/store/auth/auth-reducer.test.ts @@ -6,14 +6,14 @@ import { authReducer, AuthState } from "./auth-reducer"; import { AuthAction, authActions } from "./auth-action"; import 'jest-localstorage-mock'; -import { createServices } from "../../services/services"; +import { createServices } from "~/services/services"; describe('auth-reducer', () => { let reducer: (state: AuthState | undefined, action: AuthAction) => any; beforeAll(() => { localStorage.clear(); - reducer = authReducer(createServices({ API_HOST: "/arvados/v1", KEEP_WEB_HOST: "" })); + reducer = authReducer(createServices({ apiHost: "/arvados/v1", keepWebHost: "" })); }); it('should correctly initialise state', () => {