aboutsummaryrefslogtreecommitdiff
path: root/test/test-options-util.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-03-31 18:17:28 -0400
committerGitHub <noreply@github.com>2021-03-31 18:17:28 -0400
commitbcbd413e571d772a4438f57138169ad1a6a3b5a8 (patch)
treee8768f5e91e62759e2dce7179359aa83ff6e4d0f /test/test-options-util.js
parentcbcfdcacaf68efb09e47932f5b14881b982aecd2 (diff)
Definition collapsing when overflowing (#1575)
* Add double-down-chevron.svg * Add options * Update dictionary importers * Update settings * Add support for collapsible definitions * Improve case when there is a very small amount of overflow * Fix incorrect enabled state of newly imported dictionaries
Diffstat (limited to 'test/test-options-util.js')
-rw-r--r--test/test-options-util.js17
1 files changed, 15 insertions, 2 deletions
diff --git a/test/test-options-util.js b/test/test-options-util.js
index 7b9e6e4b..ce12bca9 100644
--- a/test/test-options-util.js
+++ b/test/test-options-util.js
@@ -135,7 +135,13 @@ function createProfileOptionsTestData1() {
convertKatakanaToHiragana: 'variant',
collapseEmphaticSequences: 'false'
},
- dictionaries: {},
+ dictionaries: {
+ 'Test Dictionary': {
+ priority: 0,
+ enabled: true,
+ allowSecondarySearches: false
+ }
+ },
parsing: {
enableScanningParser: true,
enableMecabParser: false,
@@ -401,7 +407,14 @@ function createProfileOptionsUpdatedTestData1() {
groups: []
}
},
- dictionaries: {},
+ dictionaries: {
+ 'Test Dictionary': {
+ priority: 0,
+ enabled: true,
+ allowSecondarySearches: false,
+ definitionsCollapsible: 'not-collapsible'
+ }
+ },
parsing: {
enableScanningParser: true,
enableMecabParser: false,