File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,15 @@ var assert = require('assert');
7
7
var refs = {
8
8
'http://localhost:1234/integer.json' : require ( './remotes/integer.json' ) ,
9
9
'http://localhost:1234/subSchemas.json' : require ( './remotes/subSchemas.json' ) ,
10
- 'http://localhost:1234/folder/folderInteger.json' : require ( './remotes/folder/folderInteger.json' )
10
+ 'http://localhost:1234/folder/folderInteger.json' : require ( './remotes/folder/folderInteger.json' ) ,
11
+ 'http://localhost:1234/name.json' : require ( './remotes/name.json' )
11
12
} ;
12
13
13
14
runTest ( 4 ) ;
14
15
runTest ( 6 ) ;
15
16
16
17
function runTest ( draft ) {
17
- var opts = { addUsedSchema : false } ;
18
+ var opts = { } ;
18
19
if ( draft == 4 ) opts . meta = false ;
19
20
var ajv = new Ajv ( opts ) ;
20
21
ajv . addMetaSchema ( require ( 'ajv/lib/refs/json-schema-draft-04.json' ) ) ;
You can’t perform that action at this time.
0 commit comments