| 4 | const should = chai.should() |
| 5 | |
| 6 | interface 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 | |
| 16 | export function afterError(res: TestResult): void { |
| 17 | console.log("ajv options:", res.validator.opts) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…