aboutsummaryrefslogtreecommitdiff
path: root/test/test-anki-note-builder.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-anki-note-builder.js')
-rw-r--r--test/test-anki-note-builder.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test-anki-note-builder.js b/test/test-anki-note-builder.js
index d8fd558e..2ab79551 100644
--- a/test/test-anki-note-builder.js
+++ b/test/test-anki-note-builder.js
@@ -110,6 +110,7 @@ function getFieldMarkers(type) {
'pitch-accent-positions',
'reading',
'screenshot',
+ 'search-query',
'sentence',
'tags',
'url'
@@ -128,6 +129,7 @@ function getFieldMarkers(type) {
'kunyomi',
'onyomi',
'screenshot',
+ 'search-query',
'sentence',
'stroke-count',
'tags',
@@ -167,7 +169,9 @@ async function getRenderResults(dictionaryEntries, type, mode, template, AnkiNot
text: `${clozePrefix}${source}${clozeSuffix}`,
offset: clozePrefix.length
},
- documentTitle: 'title'
+ documentTitle: 'title',
+ query: 'query',
+ fullQuery: 'fullQuery'
};
const errors = [];
const noteFields = (await ankiNoteBuilder.createNote({