diff --git a/src/features/cluster/cluster-modal-items.test.tsx b/src/features/cluster/cluster-modal-items.test.tsx index d02995798c..a65f6be4bb 100644 --- a/src/features/cluster/cluster-modal-items.test.tsx +++ b/src/features/cluster/cluster-modal-items.test.tsx @@ -2,7 +2,8 @@ * Copyright (c) OpenLens Authors. All rights reserved. * Licensed under MIT License. See LICENSE in root directory for more information. */ -import { act, RenderResult } from "@testing-library/react"; +import type { RenderResult } from "@testing-library/react"; +import { act } from "@testing-library/react"; import type { IObservableValue } from "mobx"; import { computed, observable, runInAction } from "mobx"; import React from "react"; @@ -20,7 +21,7 @@ describe(" elements originated from cluster frame component registration" describe("given custom components for cluster view available", () => { let someObservable: IObservableValue; - + beforeEach(async () => { someObservable = observable.box(false); @@ -39,8 +40,8 @@ describe(" elements originated from cluster frame component registration" id: "dialog-with-observable-visibility-id", Component: () =>
dialog contents
, shouldRender: computed(() => someObservable.get()), - } - ] + }, + ], }, }; diff --git a/src/renderer/frames/cluster-frame/cluster-frame.tsx b/src/renderer/frames/cluster-frame/cluster-frame.tsx index a057394da4..8b88be3564 100755 --- a/src/renderer/frames/cluster-frame/cluster-frame.tsx +++ b/src/renderer/frames/cluster-frame/cluster-frame.tsx @@ -58,7 +58,7 @@ export const ClusterFrame = withInjectables(NonInjectedClusterFram subscribeStores: di.inject(subscribeStoresInjectable), childComponents: computedInjectMany(clusterFrameChildComponentInjectionToken), watchHistoryState: di.inject(watchHistoryStateInjectable), - } + }; }, });