()
| 21 | import { jsonParse, jsonStringify } from '../utils/slowOperations.js' |
| 22 | |
| 23 | function 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 |
no test coverage detected