(data)
| 17 | test({foo: 2, bar: 4}) |
| 18 | |
| 19 | function test(data) { |
| 20 | const valid = validate(data) |
| 21 | if (valid) console.log("Valid!") |
| 22 | else console.log("Invalid: " + ajv.errorsText(validate.errors)) |
| 23 | } |
no test coverage detected
searching dependent graphs…