mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Make KubeApi consume its dependencies while not breaking the extension API
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user