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
170 );170 );
171 171
172 assert.deepStrictEqual(servers[0]?.terminal, {172 assert.deepStrictEqual(servers[0]?.terminal, {
173 threadId: "thread-1",173 threadId: ThreadId.make("thread-1"),
174 terminalId: "terminal-1",174 terminalId: "terminal-1",
175 });175 });
176 });176 });
@@ -219,7 +219,7 @@ describe("parseWindowsListenerOutput", () => { · 42 unmodified lines
219 processName: "node",219 processName: "node",
220 pid: 12345,220 pid: 12345,
221 terminal: {221 terminal: {
222 threadId: "thread-1",222 threadId: ThreadId.make("thread-1"),
223 terminalId: "terminal-1",223 terminalId: "terminal-1",
224 },224 },
225 },225 },