From d58230404bdad3b4fc2bae9ba2bf274777fa3c8b Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Sat, 15 Aug 2026 00:40:51 +0200 Subject: [PATCH] test(workspaces): expect helper protocol framing --- packages/workspace-helper/test/command-resolution.test.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/workspace-helper/test/command-resolution.test.mjs b/packages/workspace-helper/test/command-resolution.test.mjs index ad3ea4860e..87cd2e19bf 100644 --- a/packages/workspace-helper/test/command-resolution.test.mjs +++ b/packages/workspace-helper/test/command-resolution.test.mjs @@ -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 }); }