MCPcopy
hub / github.com/codeaashu/claude-code / shouldUseVCR

Function shouldUseVCR

src/services/vcr.ts:23–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21import { jsonParse, jsonStringify } from '../utils/slowOperations.js'
22
23function shouldUseVCR(): boolean {
24 if (process.env.NODE_ENV === 'test') {
25 return true
26 }
27
28 if (process.env.USER_TYPE === 'ant' && isEnvTruthy(process.env.FORCE_VCR)) {
29 return true
30 }
31
32 return false
33}
34
35/**
36 * Generic fixture management helper

Callers 3

withFixtureFunction · 0.85
withVCRFunction · 0.85
withStreamingVCRFunction · 0.85

Calls 1

isEnvTruthyFunction · 0.85

Tested by

no test coverage detected