You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
378 B
13 lines
378 B
4 years ago
|
'use strict'
|
||
|
|
||
|
const test = require('tap').test
|
||
|
const { counTests, runTests } = require('./util')
|
||
|
|
||
|
const requiredTestSuite = require('./draft4/required.json')
|
||
|
|
||
|
test('required', (t) => {
|
||
|
const skippedTests = ['ignores arrays', 'ignores strings', 'ignores other non-objects']
|
||
|
t.plan(counTests(requiredTestSuite, skippedTests))
|
||
|
runTests(t, requiredTestSuite, skippedTests)
|
||
|
})
|