From b3947be11f4036b1b20596bb13d109a165799eac Mon Sep 17 00:00:00 2001 From: zz-hh-aa Date: Tue, 26 Nov 2024 09:46:11 +0000 Subject: [PATCH] chore: fix lint issues --- .../modules/analytics/metabase/shared/client.test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/api.planx.uk/modules/analytics/metabase/shared/client.test.ts b/api.planx.uk/modules/analytics/metabase/shared/client.test.ts index 66cf17439a..6746ab159c 100644 --- a/api.planx.uk/modules/analytics/metabase/shared/client.test.ts +++ b/api.planx.uk/modules/analytics/metabase/shared/client.test.ts @@ -1,5 +1,4 @@ import axios from "axios"; -import type { AxiosInstance } from "axios"; import { validateConfig, createMetabaseClient, @@ -36,14 +35,14 @@ describe("Metabase client", () => { test("throws error when URL_EXT is missing", () => { vi.stubEnv("METABASE_URL_EXT", undefined); expect(() => validateConfig()).toThrow( - "Missing environment variable 'METABASE_URL_EXT'" + "Missing environment variable 'METABASE_URL_EXT'", ); }); test("throws error when API_KEY is missing", () => { vi.stubEnv("METABASE_API_KEY", undefined); expect(() => validateConfig()).toThrow( - "Missing environment variable 'METABASE_API_KEY'" + "Missing environment variable 'METABASE_API_KEY'", ); });