Commit a1c09cf7 authored by Boris Kocherov's avatar Boris Kocherov

tests: add item in select

parent fc1ab025
...@@ -108,6 +108,12 @@ ...@@ -108,6 +108,12 @@
g.props.documents[m.description] = []; g.props.documents[m.description] = [];
schema = JSON.parse(replaceAll(JSON.stringify(m.schema), "http://localhost:1234/", schema = JSON.parse(replaceAll(JSON.stringify(m.schema), "http://localhost:1234/",
"http://localhost:9000/node_modules/json-schema-test-suite/remotes/")); "http://localhost:9000/node_modules/json-schema-test-suite/remotes/"));
g.props.documents[m.description].push('undefined');
g.props.test_data[m.description + ': undefined'] = {
schema: schema,
schema_url: url_list[i] + '#/' + k + '/schema',
data: undefined
};
for (z = 0; z < m.tests.length; z += 1) { for (z = 0; z < m.tests.length; z += 1) {
t = m.tests[z]; t = m.tests[z];
g.props.documents[m.description].push(t.description); g.props.documents[m.description].push(t.description);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment