Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions test/harness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ export const bunEnv: NodeJS.Dict<string> = {
// Strip ad-hoc JSC debug options that may be set on CI agents — they leak
// a "WARNING: failed to parse" line to stderr that breaks snapshot tests.
JSC_useJIT: undefined,
// Strip the user agent injected by an outer `bun run` (e.g. when the suite
// is launched via `bun bd test`). Spawned buns honor a pre-existing value
// (put_default in run_command.rs), so tests asserting on the user agent
// would otherwise see the outer bun's version instead of bunExe()'s.
npm_config_user_agent: undefined,
GITHUB_ACTIONS: "false",
BUN_DEBUG_QUIET_LOGS: "1",
NO_COLOR: "1",
Expand Down
Loading