summaryrefslogtreecommitdiff
path: root/test/dictionary-validate.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-06-28 12:38:34 -0400
committerGitHub <noreply@github.com>2020-06-28 12:38:34 -0400
commitcdf191336aa616a206b977ba3beeb1233cf41c32 (patch)
tree07df9e5eec80dd4379c7ed97854a2bd9ef5149eb /test/dictionary-validate.js
parent5bf805755a33f6f10fd9621f8a2bff7ba1cb7440 (diff)
Clone function (#624)
* Add clone function * Replace utilIsolate with clone * Replace JsonSchema.isolate with clone function * Include core.js for tests which use json-schema.js * Update visisted set
Diffstat (limited to 'test/dictionary-validate.js')
-rw-r--r--test/dictionary-validate.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/dictionary-validate.js b/test/dictionary-validate.js
index f1730852..446de38d 100644
--- a/test/dictionary-validate.js
+++ b/test/dictionary-validate.js
@@ -21,7 +21,10 @@ const {JSZip} = require('./yomichan-test');
const {VM} = require('./yomichan-vm');
const vm = new VM();
-vm.execute('bg/js/json-schema.js');
+vm.execute([
+ 'mixed/js/core.js',
+ 'bg/js/json-schema.js'
+]);
const JsonSchema = vm.get('JsonSchema');