download
raw
345 Bytes
'use strict'
const { test } = require('node:test')
const build = require('..')
// Covers issue #139
test('Should throw on invalid schema', t => {
t.plan(1)
t.assert.throws(() => {
build({}, {
schema: {
invalid: {
type: 'Dinosaur'
}
}
})
}, { message: /^"invalid" schema is invalid:.*/ })
})

Xet Storage Details

Size:
345 Bytes
·
Xet hash:
66bfb6772a03c2f41dbf20771656cc9750e569fdd6389cd31b5b99f88d31e4ad

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.