aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-07-13 20:29:53 -0400
committerGitHub <noreply@github.com>2021-07-13 20:29:53 -0400
commitd058237ba724c3fee842d90c04b1950c9efaadc0 (patch)
treed9ec15e567693d353f37ff0158b9c792f1611ccb /test
parentd5320c71a6b2219039d9e3d7c7fd4381f1c6b31d (diff)
Duplicate scope check all models (#1810)
* Add duplicateScopeCheckAllModels option to createNote * Add duplicateScopeCheckAllModels option * Add setting
Diffstat (limited to 'test')
-rw-r--r--test/test-anki-note-builder.js1
-rw-r--r--test/test-options-util.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/test-anki-note-builder.js b/test/test-anki-note-builder.js
index c7d91325..4433e3e6 100644
--- a/test/test-anki-note-builder.js
+++ b/test/test-anki-note-builder.js
@@ -236,6 +236,7 @@ async function getRenderResults(dictionaryEntries, type, mode, template, AnkiNot
tags: ['yomichan'],
checkForDuplicates: true,
duplicateScope: 'collection',
+ duplicateScopeCheckAllModels: false,
resultOutputMode: mode,
glossaryLayoutMode: 'default',
compactTags: false
diff --git a/test/test-options-util.js b/test/test-options-util.js
index 5c411c23..10881af9 100644
--- a/test/test-options-util.js
+++ b/test/test-options-util.js
@@ -444,6 +444,7 @@ function createProfileOptionsUpdatedTestData1() {
terms: {deck: '', model: '', fields: {}},
kanji: {deck: '', model: '', fields: {}},
duplicateScope: 'collection',
+ duplicateScopeCheckAllModels: false,
displayTags: 'never',
checkForDuplicates: true,
fieldTemplates: null,