test(workspaces): expect helper protocol framing

This commit is contained in:
Mohamed Boudra
2026-08-15 00:40:51 +02:00
parent 692d4777c6
commit d58230404b
@@ -23,7 +23,10 @@ test.runIf(process.platform === "win32")("Windows command resolution honors PATH
env: { ...process.env, PATH: root, PATHEXT: ".COM;.EXE;.BAT;.CMD" },
},
);
expect(JSON.parse(result.stdout)).toEqual({ path: await realpath(executable) });
expect(JSON.parse(result.stdout)).toEqual({
protocolVersion: 1,
path: await realpath(executable),
});
} finally {
await rm(root, { recursive: true, force: true, maxRetries: 5, retryDelay: 100 });
}