mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
* Add `BUN_DEBUG` flag to control where debug logs go * Update all the actions * Configure temp * use spawn instead of rm * Use CLOSE_RANGE_CLOEXEC * Make some tests more reproducible * Update hot.test.ts * Detect file descriptor leaks and wait for stdout * Update runner.node.mjs * Update preload.ts --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
11 lines
292 B
TypeScript
11 lines
292 B
TypeScript
import * as harness from "./harness";
|
|
|
|
// We make Bun.env read-only
|
|
// so process.env = {} causes them to be out of sync and we assume Bun.env is
|
|
for (let key in process.env) {
|
|
if (key === "TZ") continue;
|
|
delete process.env[key];
|
|
}
|
|
|
|
Bun.$.env(Object.assign(process.env, harness.bunEnv));
|