1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix typing

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-12-16 08:24:42 -05:00
parent e808259fbb
commit 256ed2a1b8

View File

@ -4,7 +4,7 @@
*/
import type { DiContainer } from "@ogre-tools/injectable";
import { WebSocket } from "ws";
import 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";
@ -92,7 +92,7 @@ describe("technical unit tests for local shell sessions", () => {
preferences: {},
} as Partial<Cluster> as Cluster,
tabId: "my-tab-id",
websocket: new WebSocket(null),
websocket: new WebSocket(""),
});
});
});