aboutsummaryrefslogtreecommitdiff
path: root/test/dictionary-validate.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-08-09 14:18:59 -0400
committerGitHub <noreply@github.com>2020-08-09 14:18:59 -0400
commit486d44f7197a2dedc5ea487345e598c668d47638 (patch)
tree2620a0ed45ebebe786722739c8ce1816cc08d952 /test/dictionary-validate.js
parentfbe575c577b9e6c8279aaa064cf62732c643240a (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/dictionary-validate.js')
-rw-r--r--test/dictionary-validate.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dictionary-validate.js b/test/dictionary-validate.js
index 446de38d..716e8df4 100644
--- a/test/dictionary-validate.js
+++ b/test/dictionary-validate.js
@@ -23,6 +23,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');