9f9c9758a1
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
4 lines
118 B
TypeScript
4 lines
118 B
TypeScript
import { isBunTestRuntime } from "@oh-my-pi/pi-utils/env";
|
|
|
|
process.stdout.write(JSON.stringify(isBunTestRuntime()));
|