download
raw
450 Bytes
'use strict'
const { test } = require('node:test')
const build = require('..')
test('object with custom format field', (t) => {
t.plan(1)
const schema = {
title: 'object with custom format field',
type: 'object',
properties: {
str: {
type: 'string',
format: 'test-format'
}
}
}
const stringify = build(schema)
t.assert.doesNotThrow(() => {
stringify({
str: 'string'
})
})
})

Xet Storage Details

Size:
450 Bytes
·
Xet hash:
4568668cad312e06c1087f04f747de93cb8d41045c5c49a5d283497342251f21

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