cybernaut
Version:
Reliable, zero configuration end-to-end testing in BDD-style.
12 lines (8 loc) • 313 B
text/typescript
import test from 'ava';
const schema = require('../../config-schema.json');
test('`$schema` should be "http://json-schema.org/draft-04/schema#"', t => {
t.is(schema.$schema, 'http://json-schema.org/draft-04/schema#');
});
test('`required` should be undefined', t => {
t.is(schema.required, undefined);
});