diff options
| author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-08-09 14:18:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-09 14:18:59 -0400 |
| commit | 486d44f7197a2dedc5ea487345e598c668d47638 (patch) | |
| tree | 2620a0ed45ebebe786722739c8ce1816cc08d952 /test/schema-validate.js | |
| parent | fbe575c577b9e6c8279aaa064cf62732c643240a (diff) | |
Json schema improvements (#722)
* Add support for regex pattern testing
* Add tests
* Separate JsonSchemaProxyHandler statics into JsonSchemaValidator
* Use this instead of JsonSchemaValidator
* Make JsonSchemaValidator non-static
* Use cache map for regex
Diffstat (limited to 'test/schema-validate.js')
| -rw-r--r-- | test/schema-validate.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/schema-validate.js b/test/schema-validate.js index 4c01fa70..aa9450dd 100644 --- a/test/schema-validate.js +++ b/test/schema-validate.js @@ -21,6 +21,7 @@ const {VM} = require('./yomichan-vm'); const vm = new VM(); vm.execute([ 'mixed/js/core.js', + 'mixed/js/cache-map.js', 'bg/js/json-schema.js' ]); const JsonSchema = vm.get('JsonSchema'); |