test: sync failing test for issue #220

master
Evgeny Poberezkin 2016-06-28 21:17:07 +01:00
parent 5e7094754f
commit aa2ee31381
1 changed files with 9 additions and 0 deletions

View File

@ -134,6 +134,15 @@ describe('resolve', function () {
});
});
it.skip('should throw missing schema error if same path exist in the current schema but id is different (issue #220)', function() {
testMissingSchemaError({
baseId: 'http://example.com/parent.json',
ref: 'object.json#/properties/a',
expectedMissingRef: 'http://example.com/object.json#/properties/a',
expectedMissingSchema: 'http://example.com/object.json'
});
});
function testMissingSchemaError(opts) {
instances.forEach(function (ajv) {