X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/42ec7892e74f6d9d19f2f0155830565f447a861f..ba4e011fc9132aa17cc6c4e8e74a6310a308291e:/src/store/auth/auth-action.test.ts diff --git a/src/store/auth/auth-action.test.ts b/src/store/auth/auth-action.test.ts index 83a699a7d2..616f2d2c49 100644 --- a/src/store/auth/auth-action.test.ts +++ b/src/store/auth/auth-action.test.ts @@ -9,7 +9,7 @@ import 'jest-localstorage-mock'; import { ServiceRepository, createServices } from "~/services/services"; import { configureStore, RootStore } from "../store"; import { createBrowserHistory } from "history"; -import { mockConfig, DISCOVERY_DOC_PATH, } from '~/common/config'; +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'; import Axios from "axios"; @@ -23,6 +23,7 @@ describe('auth-actions', () => { let store: RootStore; let services: ServiceRepository; + const config: any = {}; const actions: ApiActions = { progressFn: (id: string, working: boolean) => { }, errorFn: (id: string, message: string) => { } @@ -32,7 +33,7 @@ describe('auth-actions', () => { beforeEach(() => { axiosMock.reset(); services = createServices(mockConfig({}), actions, axiosInst); - store = configureStore(createBrowserHistory(), services); + store = configureStore(createBrowserHistory(), services, config); localStorage.clear(); importMocks = []; }); @@ -62,6 +63,7 @@ describe('auth-actions', () => { .reply(200, { baseUrl: "https://xc59z.arvadosapi.com/arvados/v1", keepWebServiceUrl: "", + keepWebInlineServiceUrl: "", remoteHosts: {}, rootUrl: "https://xc59z.arvadosapi.com", uuidPrefix: "xc59z",