mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Bump @kubernetes/client-node from 0.17.1 to 0.18.0 (#6769)
* Bump @kubernetes/client-node from 0.17.1 to 0.18.0 Bumps [@kubernetes/client-node](https://github.com/kubernetes-client/javascript) from 0.17.1 to 0.18.0. - [Release notes](https://github.com/kubernetes-client/javascript/releases) - [Changelog](https://github.com/kubernetes-client/javascript/blob/master/CHANGELOG.md) - [Commits](https://github.com/kubernetes-client/javascript/compare/0.17.1...0.18.0) --- updated-dependencies: - dependency-name: "@kubernetes/client-node" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix typing Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix technical test Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Sebastian Malton <sebastian@malton.name> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
9c576c7f80
commit
de789ff955
3 files changed
+47
-31
No files matched your search
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
import type { DiContainer } from "@ogre-tools/injectable";
|
||||
import { WebSocket } from "ws";
|
||||
import type WebSocket from "ws";
|
||||
import directoryForUserDataInjectable from "../../../common/app-paths/directory-for-user-data/directory-for-user-data.injectable";
|
||||
import type { Cluster } from "../../../common/cluster/cluster";
|
||||
import pathExistsSyncInjectable from "../../../common/fs/path-exists-sync.injectable";
|
||||
@@ -86,13 +86,18 @@ describe("technical unit tests for local shell sessions", () => {
|
||||
};
|
||||
});
|
||||
|
||||
const websocket = {
|
||||
on: jest.fn(() => websocket),
|
||||
once: jest.fn(() => websocket),
|
||||
} as Partial<WebSocket> as WebSocket;
|
||||
|
||||
await openLocalShellSession({
|
||||
cluster: {
|
||||
getProxyKubeconfigPath: async () => "/some-proxy-kubeconfig",
|
||||
preferences: {},
|
||||
} as Partial<Cluster> as Cluster,
|
||||
tabId: "my-tab-id",
|
||||
websocket: new WebSocket(null),
|
||||
websocket,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user