Removes the ".only()" call to one Cypress test. Refs #18834
[arvados.git] / src / services / common-service / common-service.test.ts
index 14a154767fbc2b93f08cfdb3778e360efeea4093..bfb50948561ed6971cab9eae709fb0afa5182e6c 100644 (file)
@@ -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<any>;
 
     beforeEach(() => {
-        commonService = new CommonService<any>(axios.create(), "resource", actions);
+        commonService = new CommonService<any>({} as AxiosInstance, "resource", actions);
     });
 
     it("throws an exception when passing uuid as empty string to get()", () => {