From eb40293bac1e910aacec5cd6d10941394e059a8f Mon Sep 17 00:00:00 2001
From: Lucas Di Pentima <lucas@di-pentima.com.ar>
Date: Mon, 22 Feb 2021 17:24:28 -0300
Subject: [PATCH] 17319: Don't use a real axios instance if not needed.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>
---
 src/services/common-service/common-service.test.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/services/common-service/common-service.test.ts b/src/services/common-service/common-service.test.ts
index 14a15476..9a13d608 100644
--- a/src/services/common-service/common-service.test.ts
+++ b/src/services/common-service/common-service.test.ts
@@ -2,7 +2,7 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import axios from "axios";
+import axios, { AxiosInstance } from "axios";
 import { ApiActions } from "~/services/api/api-actions";
 import { CommonService } from "./common-service";
 
@@ -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()", () => {
-- 
2.30.2