diff --git a/bunfig.toml b/bunfig.toml index 63adf5a65..c2beb1da9 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -1,7 +1,4 @@ [test] -# Preload runs before any test module loads. setup.ts pins FORCE_COLOR=0 so Ink -# frames are plain text (no ANSI color codes) regardless of whether stdout is a -# TTY, keeping frame assertions deterministic across `bun test` and piped runs. preload = ["./src/testing/setup.ts"] pathIgnorePatterns = ["src/assets/**", "out/**", "dist/**"] coveragePathIgnorePatterns = ["src/testing/**", "src/assets/**"] diff --git a/src/testing/setup.ts b/src/testing/setup.ts index 3aec3b873..fccc59377 100644 --- a/src/testing/setup.ts +++ b/src/testing/setup.ts @@ -17,3 +17,5 @@ process.env.FORCE_COLOR = "0"; // terminal env at import time. Pin the Windows Terminal marker so frame // assertions on ❯ ✗ ↵ hold on a plain conhost dev box as well. process.env.WT_SESSION ??= "bun-test"; + +process.env.AGENTCORE_TELEMETRY_DISABLED = "1";