Assert hello launchCwd metadata in runtime test

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-09 23:50:19 +00:00
1 parent ac6bae97fb
commit 8f2e258849
1 file changed
+4
+4
View File
@@ -126,6 +126,10 @@ describe("runtimeApiServer", () => {
const client = await connectClient(server.wsUrl);
const hello = await client.nextMessage();
expect(hello.type).toBe("hello");
if (hello.type !== "hello") {
throw new Error("Expected hello message.");
}
expect(hello.launchCwd).toBe(process.cwd());
const response = await sendRequest(
client.socket,