(validate)
| 395 | } |
| 396 | |
| 397 | function testListSchema(validate) { |
| 398 | validate([{a: 3}]).should.equal(true) |
| 399 | validate([{a: 1}]).should.equal(false) |
| 400 | validate([{a: 5}]).should.equal(false) |
| 401 | } |
| 402 | |
| 403 | function testInlined(validate: AnyValidateFunction, expectedInlined) { |
| 404 | const inlined: any = !validate.source?.scopeValues.validate |
no test coverage detected
searching dependent graphs…