Files
pnpm/exec
Zoltan Kochan cb3d8e75bd test(exec): fix Windows failure in PnP require option test (#12499)
The 'exec should merge node options with PnP require option' test (added in
#12430) hardcoded an unquoted '--require=<path>' expectation. On Windows the
.pnp.cjs path contains backslashes, which makeNodeRequireOption quotes and
escapes for Node's NODE_OPTIONS tokenizer, so the assertion mismatched and the
test failed on Windows runners.

Derive the expected NODE_OPTIONS from makeNodeRequireOption itself so the
expectation matches the implementation's quoting on every platform.
2026-06-18 14:02:12 +00:00
..
2026-06-18 12:17:52 +02:00