(jsonSchema: Root)
| 15 | } |
| 16 | |
| 17 | const getAjvValidate = (jsonSchema: Root): Ajv.ValidateFunction => |
| 18 | // new instance of Ajv is created for each schema to avoid error: "schema with key or id "/schemas/any" already exists" |
| 19 | new Ajv.default(ajvOptions).compile(jsonSchema) |
| 20 | |
| 21 | const expectProperty = <A, I>( |
| 22 | schema: Schema.Schema<A, I>, |
no test coverage detected