MCPcopy
hub / github.com/MiniMax-AI/cli / env.test.ts

File env.test.ts

test/utils/env.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, beforeEach } from 'bun:test';
2import { isInteractive, isCI } from '../../src/utils/env';
3
4function withTTY(stdout: boolean, stdin: boolean, fn: () => void): void {

Callers

nothing calls this directly

Calls 3

isInteractiveFunction · 0.90
isCIFunction · 0.90
withTTYFunction · 0.85

Tested by

no test coverage detected