Files
oh-my-pi/packages/utils/test/fixtures/test-runtime-probe.ts
T
roboomp 9f9c9758a1 fix(tui): prevented test env from suppressing interactive launch
Scoped test-runtime detection to explicit runner markers and Bun test entrypoints, so application NODE_ENV/BUN_ENV values no longer make ProcessTerminal headless.

Added subprocess regression coverage and propagated the private marker to test children.

Fixes #7261
2026-08-01 11:39:57 +00:00

4 lines
118 B
TypeScript

import { isBunTestRuntime } from "@oh-my-pi/pi-utils/env";
process.stdout.write(JSON.stringify(isBunTestRuntime()));