aboutsummaryrefslogtreecommitdiff
path: root/test/test-options-util.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-04-03 13:02:49 -0400
committerGitHub <noreply@github.com>2021-04-03 13:02:49 -0400
commita9fe2d03b22a0dd5760019f1325a7a86ebb07b85 (patch)
treeaa2fe04c741c82c0456f44a39139c52988b6c22d /test/test-options-util.js
parent0d2d342cd373798e3daf42799a9f35d974db92f5 (diff)
Update dictionary settings structure (#1587)
* Update dictionary settings structure to use an array instead of an object * Update ensureDictionarySettings implementation * Remove some usage of ObjectPropertyAccessor
Diffstat (limited to 'test/test-options-util.js')
-rw-r--r--test/test-options-util.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/test-options-util.js b/test/test-options-util.js
index ce12bca9..cd948c91 100644
--- a/test/test-options-util.js
+++ b/test/test-options-util.js
@@ -407,14 +407,15 @@ function createProfileOptionsUpdatedTestData1() {
groups: []
}
},
- dictionaries: {
- 'Test Dictionary': {
+ dictionaries: [
+ {
+ name: 'Test Dictionary',
priority: 0,
enabled: true,
allowSecondarySearches: false,
definitionsCollapsible: 'not-collapsible'
}
- },
+ ],
parsing: {
enableScanningParser: true,
enableMecabParser: false,
@@ -574,7 +575,7 @@ function createOptionsUpdatedTestData1() {
}
],
profileCurrent: 0,
- version: 10,
+ version: 11,
global: {
database: {
prefixWildcardsSupported: false