diff --git a/docs/cli/test.md b/docs/cli/test.md index eba795cbb9..c1e5a52c1a 100644 --- a/docs/cli/test.md +++ b/docs/cli/test.md @@ -257,7 +257,7 @@ When using Bun's test runner with AI coding assistants, you can enable quieter o Set any of the following environment variables to enable AI-friendly output: - `CLAUDECODE=1` - For Claude Code -- `REPL_ID=1` - For Replit +- `REPL_ID=1` - For Replit - `IS_CODE_AGENT=1` - Generic AI agent flag ### Behavior diff --git a/test/package.json b/test/package.json index dc3fdff3c2..b09e6e2eaa 100644 --- a/test/package.json +++ b/test/package.json @@ -101,7 +101,9 @@ }, "private": true, "scripts": { - "typecheck": "tsc --noEmit" + "typecheck": "tsc --noEmit", + "bd:v": "(bun run --silent --cwd=../ build:debug &> /tmp/bun.debug.build.log || (cat /tmp/bun.debug.build.log && rm -rf /tmp/bun.debug.build.log && exit 1)) && rm -f /tmp/bun.debug.build.log && ../build/debug/bun-debug", + "bd": "BUN_DEBUG_QUIET_LOGS=1 bun --silent bd:v" }, "resolutions": { "react": "../node_modules/react"