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

Function test

spec/boolean.spec.ts:31–36  ·  view source on GitHub ↗
(boolSchema, valid)

Source from the content-addressed store, hash-verified

29 })
30
31 function test(boolSchema, valid) {
32 return function (ajv) {
33 const validate = ajv.compile(boolSchema)
34 testSchema(validate, valid)
35 }
36 }
37 })
38
39 describe("in properties / sub-properties", () => {

Callers 1

boolean.spec.tsFile · 0.70

Calls 3

validateFunction · 0.85
testSchemaFunction · 0.70
compileMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…