From 45e97919e54718b21ca55323738447bdf74e8410 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Thu, 17 Jul 2025 22:20:02 -0700 Subject: [PATCH] Add `bun bd` to `test/` folder and also run formatter --- docs/cli/test.md | 2 +- test/package.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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"