Aktueller Stand
This commit is contained in:
6
backend/node_modules/fast-json-stringify/test/json-schema-test-suite/draft7.test.js
generated
vendored
6
backend/node_modules/fast-json-stringify/test/json-schema-test-suite/draft7.test.js
generated
vendored
@@ -1,12 +1,12 @@
|
||||
'use strict'
|
||||
|
||||
const test = require('tap').test
|
||||
const { test } = require('node:test')
|
||||
const { counTests, runTests } = require('./util')
|
||||
|
||||
const requiredTestSuite = require('./draft7/required.json')
|
||||
|
||||
test('required', (t) => {
|
||||
test('required', async (t) => {
|
||||
const skippedTests = ['ignores arrays', 'ignores strings', 'ignores other non-objects']
|
||||
t.plan(counTests(requiredTestSuite, skippedTests))
|
||||
runTests(t, requiredTestSuite, skippedTests)
|
||||
await runTests(t, requiredTestSuite, skippedTests)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user