Skip to content

Commit

Permalink
fix child-process-windows-hide.test.js running in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Oct 16, 2024
1 parent 54e6744 commit eb293d5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
const cp = require("child_process");
const cmd = process.execPath;
const args = ["--print", "42"];
const options = { windowsHide: true };
const options = { windowsHide: true, env: { ...Bun.env } };
delete options.env.FORCE_COLOR;

// Since windowsHide isn't really observable, we'll use Jest's mocking capabilities
// to verify that the flag is being passed through correctly.
Expand Down

0 comments on commit eb293d5

Please sign in to comment.