X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/34763d00fc3fad357251a2ba0a0af77ea5a8563e..5a7f3f56fc39ab231982435d29b8f15e819748fe:/src/store/auth/auth-actions.test.ts diff --git a/src/store/auth/auth-actions.test.ts b/src/store/auth/auth-actions.test.ts index 1ded88ea..2b28cd08 100644 --- a/src/store/auth/auth-actions.test.ts +++ b/src/store/auth/auth-actions.test.ts @@ -23,9 +23,9 @@ describe('auth-actions', () => { let store: RootStore; beforeEach(() => { - store = configureStore(createBrowserHistory(), createServices("/arvados/v1")); + store = configureStore(createBrowserHistory(), createServices({ API_HOST: "/arvados/v1", KEEP_WEB_HOST: "" })); localStorage.clear(); - reducer = authReducer(createServices("/arvados/v1")); + reducer = authReducer(createServices({ API_HOST: "/arvados/v1", KEEP_WEB_HOST: "" })); }); it('should initialise state with user and api token from local storage', () => {