aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-07-17 17:10:25 -0400
committerGitHub <noreply@github.com>2021-07-17 17:10:25 -0400
commitfafa746a632b1907d9cca262f689d7bec4e0f940 (patch)
treef328ef581376cbda0b9d99bd9c3f7892de50a3c1 /test
parent74381302c7a658dc3fd5e6c3a76842dd430341bb (diff)
Sandbox script folders (#1837)
* Move scripts * Update paths * Fix ordering * Simplify eslint rules
Diffstat (limited to 'test')
-rw-r--r--test/test-anki-note-builder.js8
-rw-r--r--test/test-japanese-util.js2
2 files changed, 5 insertions, 5 deletions
diff --git a/test/test-anki-note-builder.js b/test/test-anki-note-builder.js
index 4433e3e6..d6b41c3b 100644
--- a/test/test-anki-note-builder.js
+++ b/test/test-anki-note-builder.js
@@ -43,10 +43,10 @@ async function createVM() {
vm.execute([
'js/data/anki-note-builder.js',
'js/data/anki-util.js',
- 'js/dom/css-style-applier.js',
- 'js/display/structured-content-generator.js',
- 'js/templates/template-renderer.js',
- 'js/templates/template-renderer-media-provider.js',
+ 'js/dom/sandbox/css-style-applier.js',
+ 'js/display/sandbox/structured-content-generator.js',
+ 'js/templates/sandbox/template-renderer.js',
+ 'js/templates/sandbox/template-renderer-media-provider.js',
'lib/handlebars.min.js'
]);
diff --git a/test/test-japanese-util.js b/test/test-japanese-util.js
index 82abf50b..bfeac4f5 100644
--- a/test/test-japanese-util.js
+++ b/test/test-japanese-util.js
@@ -22,7 +22,7 @@ const {VM} = require('../dev/vm');
const vm = new VM();
vm.execute([
'lib/wanakana.min.js',
- 'js/language/japanese-util.js',
+ 'js/language/sandbox/japanese-util.js',
'js/general/text-source-map.js'
]);
const [JapaneseUtil, TextSourceMap, wanakana] = vm.get(['JapaneseUtil', 'TextSourceMap', 'wanakana']);