From 14f50a3f5899a1ef798512fc819edfff42a2e97f Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Mon, 9 Jan 2023 10:59:35 -0500 Subject: [PATCH] Fix unit tests Signed-off-by: Sebastian Malton --- ...tificate.global-override-for-injectable.ts | 19 ------------------- .../utils/channel/get-request-channel.ts | 3 ++- 2 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 src/common/certificate/lens-proxy-certificate.global-override-for-injectable.ts diff --git a/src/common/certificate/lens-proxy-certificate.global-override-for-injectable.ts b/src/common/certificate/lens-proxy-certificate.global-override-for-injectable.ts deleted file mode 100644 index d547516062..0000000000 --- a/src/common/certificate/lens-proxy-certificate.global-override-for-injectable.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * Copyright (c) OpenLens Authors. All rights reserved. - * Licensed under MIT License. See LICENSE in root directory for more information. - */ - -import { getGlobalOverride } from "../test-utils/get-global-override"; -import lensProxyCertificateInjectable from "./lens-proxy-certificate.injectable"; - -export default getGlobalOverride(lensProxyCertificateInjectable, () => { - return { - get: () => ({ - public: "", - private: "", - cert: "", - }), - set: () => {}, - }; -}); - diff --git a/src/common/utils/channel/get-request-channel.ts b/src/common/utils/channel/get-request-channel.ts index 4dc5b4914e..8a6dfe39fc 100644 --- a/src/common/utils/channel/get-request-channel.ts +++ b/src/common/utils/channel/get-request-channel.ts @@ -2,7 +2,8 @@ * Copyright (c) OpenLens Authors. All rights reserved. * Licensed under MIT License. See LICENSE in root directory for more information. */ -import type { RequestChannel } from "./request-channel-listener-injection-token"; + +import type { RequestChannel } from "./request-channel"; export const getRequestChannel = (id: string): RequestChannel => ({ id,