MCPcopy Index your code
hub / github.com/callstack/agent-device / requiresLoopbackCoverage

Function requiresLoopbackCoverage

src/__tests__/test-utils/loopback.ts:11–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9let loopbackBindSupportPromise: Promise<boolean> | null = null;
10
11function requiresLoopbackCoverage(): boolean {
12 return ['1', 'true', 'yes', 'on'].includes(
13 (process.env.AGENT_DEVICE_REQUIRE_LOOPBACK_TESTS ?? '').toLowerCase(),
14 );
15}
16
17export async function supportsLoopbackBind(): Promise<boolean> {
18 if (loopbackBindSupportPromise) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected