MCPcopy
hub / github.com/ajv-validator/ajv / TestResult

Interface TestResult

spec/after_test.ts:6–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4const should = chai.should()
5
6interface TestResult {
7 validator: Ajv
8 schema: AnySchema
9 data: unknown
10 valid: boolean
11 expected: boolean
12 errors: ErrorObject[] | null
13 passed: boolean // true if valid == expected
14}
15
16export function afterError(res: TestResult): void {
17 console.log("ajv options:", res.validator.opts)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…