From 4e3060e48e3332583d6da5214ad33c0d9e6c9e50 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 5 Jan 2023 10:59:09 -0500 Subject: [PATCH] Fix lint Signed-off-by: Sebastian Malton --- .../cluster/namespaces/edit-namespace-from-new-tab.test.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/features/cluster/namespaces/edit-namespace-from-new-tab.test.tsx b/src/features/cluster/namespaces/edit-namespace-from-new-tab.test.tsx index dbd8ec2175..a3761caf21 100644 --- a/src/features/cluster/namespaces/edit-namespace-from-new-tab.test.tsx +++ b/src/features/cluster/namespaces/edit-namespace-from-new-tab.test.tsx @@ -23,7 +23,6 @@ import showErrorNotificationInjectable from "../../../renderer/components/notifi import readJsonFileInjectable from "../../../common/fs/read-json-file.injectable"; import directoryForLensLocalStorageInjectable from "../../../common/directory-for-lens-local-storage/directory-for-lens-local-storage.injectable"; import hostedClusterIdInjectable from "../../../renderer/cluster-frame-context/hosted-cluster-id.injectable"; -import { controlWhenStoragesAreReady } from "../../../renderer/utils/create-storage/storages-are-ready"; describe("cluster/namespaces - edit namespace from new tab", () => { let builder: ApplicationBuilder; @@ -31,7 +30,6 @@ describe("cluster/namespaces - edit namespace from new tab", () => { let callForPatchResourceMock: AsyncFnMock; let showSuccessNotificationMock: jest.Mock; let showErrorNotificationMock: jest.Mock; - let storagesAreReady: () => Promise; beforeEach(() => { builder = getApplicationBuilder(); @@ -46,8 +44,6 @@ describe("cluster/namespaces - edit namespace from new tab", () => { windowDi.override(hostedClusterIdInjectable, () => "some-cluster-id"); - storagesAreReady = controlWhenStoragesAreReady(windowDi); - showSuccessNotificationMock = jest.fn(); windowDi.override(showSuccessNotificationInjectable, () => showSuccessNotificationMock); @@ -81,8 +77,6 @@ describe("cluster/namespaces - edit namespace from new tab", () => { beforeEach(async () => { rendered = await builder.render(); - await storagesAreReady(); - windowDi = builder.applicationWindow.only.di; const navigateToNamespaces = windowDi.inject(navigateToNamespacesInjectable);