History

Fix typed port scanner assertions

Cursor Agent committed 5 months ago

Commit ba5fd841 parent 5ea74661 file · +2 −2Browse files

Unified · Split

apps/server/src/preview/PortScanner.test.ts+2−2
@@ -170,7 +170,7 @@ describe("parseLsofOutput", () => { · 169 unmodified lines
170170 );
171171
172172 assert.deepStrictEqual(servers[0]?.terminal, {
173− threadId: "thread-1",
173+ threadId: ThreadId.make("thread-1"),
174174 terminalId: "terminal-1",
175175 });
176176 });
@@ -219,7 +219,7 @@ describe("parseWindowsListenerOutput", () => { · 42 unmodified lines
219219 processName: "node",
220220 pid: 12345,
221221 terminal: {
222− threadId: "thread-1",
222+ threadId: ThreadId.make("thread-1"),
223223 terminalId: "terminal-1",
224224 },
225225 },