From 256ed2a1b8f90f09feedd7d5143c87e3e9d56f27 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Fri, 16 Dec 2022 08:24:42 -0500 Subject: [PATCH] Fix typing Signed-off-by: Sebastian Malton --- src/main/shell-session/local-shell-session/techincal.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/shell-session/local-shell-session/techincal.test.ts b/src/main/shell-session/local-shell-session/techincal.test.ts index 37228a6ddc..df4fd909a0 100644 --- a/src/main/shell-session/local-shell-session/techincal.test.ts +++ b/src/main/shell-session/local-shell-session/techincal.test.ts @@ -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 as Cluster, tabId: "my-tab-id", - websocket: new WebSocket(null), + websocket: new WebSocket(""), }); }); });