mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
Replace tempDir file creation with -e inline script execution for the first three test cases to avoid filesystem I/O. The fourth test case (bun test) still requires tempDir since bun test needs a file to run. Note: bunExe() returns process.execPath which points to the debug build when running via `bun bd test`, so spawned processes already use the correct binary without needing to add "bd" as a subcommand. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>