Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 0 additions & 3 deletions bunfig.toml
Original file line number Diff line number Diff line change
@@ -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/**"]
2 changes: 2 additions & 0 deletions src/testing/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Loading