Make KubeApi consume its dependencies while not breaking the extension API

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-01-05 13:28:56 -05:00
1 parent 1ef5677d61
commit 1be1b4418f
106 files changed
+972 -316

No files matched your search

@@ -23,7 +23,7 @@ import legacyOnChannelListenInjectable from "../../ipc/legacy-channel-listen.inj
import currentRouteComponentInjectable from "../../routes/current-route-component.injectable";
import hostedClusterIdInjectable from "../../cluster-frame-context/hosted-cluster-id.injectable";
import hostedClusterInjectable from "../../cluster-frame-context/hosted-cluster.injectable";
import { useFakeTime } from "../../../common/test-utils/use-fake-time";
import { testUsingFakeTime } from "../../../common/test-utils/use-fake-time";
import currentlyInClusterFrameInjectable from "../../routes/currently-in-cluster-frame.injectable";
describe("<ClusterFrame />", () => {
@@ -47,7 +47,7 @@ describe("<ClusterFrame />", () => {
di.override(storesAndApisCanBeCreatedInjectable, () => true);
di.override(currentlyInClusterFrameInjectable, () => true);
useFakeTime("2000-01-01 12:00:00am");
testUsingFakeTime("2000-01-01 12:00:00am");
const createCluster = di.inject(createClusterInjectable);