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

Function test

spec/options/options_code.spec.ts:12–15  ·  view source on GitHub ↗
(ajv)

Source from the content-addressed store, hash-verified

10 test(new _Ajv({code: {source: true}}))
11
12 function test(ajv) {
13 const validate = ajv.compile({type: "number"})
14 validate.source.validateCode.should.be.a("string")
15 }
16 })
17 })
18

Callers 1

Calls 2

compileMethod · 0.45
validateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…