X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0c04dddf8855474ea629a6b55be38f15fbc4ac4c..81f173ecca4de9d012ad9219557c39a240ad8d2f:/src/services/common-service/common-service.test.ts diff --git a/src/services/common-service/common-service.test.ts b/src/services/common-service/common-service.test.ts index 14a154767f..bfb5094856 100644 --- a/src/services/common-service/common-service.test.ts +++ b/src/services/common-service/common-service.test.ts @@ -2,8 +2,8 @@ // // SPDX-License-Identifier: AGPL-3.0 -import axios from "axios"; -import { ApiActions } from "~/services/api/api-actions"; +import axios, { AxiosInstance } from "axios"; +import { ApiActions } from "services/api/api-actions"; import { CommonService } from "./common-service"; const actions: ApiActions = { @@ -15,7 +15,7 @@ describe("CommonService", () => { let commonService: CommonService; beforeEach(() => { - commonService = new CommonService(axios.create(), "resource", actions); + commonService = new CommonService({} as AxiosInstance, "resource", actions); }); it("throws an exception when passing uuid as empty string to get()", () => {