summaryrefslogtreecommitdiff
path: root/test/test-anki-note-builder.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-05-14 18:45:18 -0400
committerGitHub <noreply@github.com>2022-05-14 18:45:18 -0400
commit8b206e4d0458892d30661353bfb95c6dcefe5b67 (patch)
treedc18db4a7776b0a104b7b60827b55307f1a26770 /test/test-anki-note-builder.js
parentfd75e91e7544939faf302caef453a81cef48f420 (diff)
Update structured content tests (#2134)
Diffstat (limited to 'test/test-anki-note-builder.js')
-rw-r--r--test/test-anki-note-builder.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-anki-note-builder.js b/test/test-anki-note-builder.js
index 3da67955..21aa89bc 100644
--- a/test/test-anki-note-builder.js
+++ b/test/test-anki-note-builder.js
@@ -34,7 +34,8 @@ async function createVM() {
const vm = new TranslatorVM({
Node,
NodeFilter,
- document
+ document,
+ location: new URL('https://yomichan.test/')
});
const dictionaryDirectory = path.join(__dirname, 'data', 'dictionaries', 'valid-dictionary1');