rulvar API reference / @rulvar/testing / defaultRedact
Function: defaultRedact()
ts
function defaultRedact(value): string;Defined in: packages/testing/src/vcr.ts:60
Built-in redaction: authorization material never reaches cassette bytes. Deliberately aggressive; compose a custom hook for payload-specific secrets.
Parameters
| Parameter | Type |
|---|---|
value | string |
Returns
string