Files
2026-01-12 13:12:46 +01:00

16 lines
232 B
JavaScript

'use strict'
const t = require('tap')
const build = require('..')
t.throws(() => {
build({
$defs: {
type: 'foooo"bar'
},
patternProperties: {
x: { $ref: '#/$defs' }
}
})
}, 'foooo"bar unsupported')