summaryrefslogtreecommitdiff
path: root/test/test-options-util.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-05-29 21:24:41 -0400
committerGitHub <noreply@github.com>2022-05-29 21:24:41 -0400
commit331a2e62941e04a4d50a21faefed663a92ddc00a (patch)
tree1212a1e7cd57ea2331fab2101afdc325cb3a4766 /test/test-options-util.js
parentf3024c50186344aa6a6b09500ea02540463ce5c9 (diff)
Add support for guiEditNote to view notes (#2143)
* Add AnkiConnect.guiEditNote * Update _onApiNoteView to first try guiEditNote * Add setting * Update noteView API * Use setting * Return which mode was used * Update DisplayGenerator * Handle errors in DisplayAnki * Update docs * Add isErrorUnsupportedAction function * Add an allowFallback option to noteView * Disambiguate * Simplify now that preferredMode isn't used * Update settings info * Implement test buttons * Update styles * Update status visibility * Wrap layout * Update description * Update date
Diffstat (limited to 'test/test-options-util.js')
-rw-r--r--test/test-options-util.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test-options-util.js b/test/test-options-util.js
index e706b720..425201ce 100644
--- a/test/test-options-util.js
+++ b/test/test-options-util.js
@@ -453,7 +453,8 @@ function createProfileOptionsUpdatedTestData1() {
displayTags: 'never',
checkForDuplicates: true,
fieldTemplates: null,
- suspendNewCards: false
+ suspendNewCards: false,
+ noteGuiMode: 'browse'
},
sentenceParsing: {
scanExtent: 200,
@@ -602,7 +603,7 @@ function createOptionsUpdatedTestData1() {
}
],
profileCurrent: 0,
- version: 18,
+ version: 19,
global: {
database: {
prefixWildcardsSupported: false