mirror of
https://github.com/morluto/rea
synced 2026-10-26 06:16:17 -04:00
test(setup): use native Windows launcher in layered OpenCode fixture (#4947)
This commit is contained in:
@@ -318,7 +318,13 @@ cliTest(
|
||||
mcp: {
|
||||
rea: clientRegistrationEntry(
|
||||
"opencode",
|
||||
[resolve("scripts/rea.mjs"), "mcp"],
|
||||
// Windows launches JavaScript through Node; otherwise setup repairs
|
||||
// the command before this test can exercise layered environment data.
|
||||
[
|
||||
...(process.platform === "win32" ? [process.execPath] : []),
|
||||
resolve("scripts/rea.mjs"),
|
||||
"mcp",
|
||||
],
|
||||
env,
|
||||
),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user