diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-09-26 11:08:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-26 11:08:16 -0400 |
commit | 9899727d7d53caed4c5b5e68176f7ed7f90a9438 (patch) | |
tree | 3d764007cf8e86cee23be969a2065a644b27f73d /test/test-options-util.js | |
parent | 88e71f82232781a1bc16701ce4719d770222ec4c (diff) |
Frequency dictionary sort (#1938)
* Add sortDictionary/sortDictionaryOrder options
* Update options
* Add API.getTermFrequencies
* Add settings
* Implement frequency dictionary sorting
* Update test
* Update test data
* Fix handling of undefined rank-based frequencies
Diffstat (limited to 'test/test-options-util.js')
-rw-r--r-- | test/test-options-util.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test-options-util.js b/test/test-options-util.js index 0feeb21c..70229683 100644 --- a/test/test-options-util.js +++ b/test/test-options-util.js @@ -302,7 +302,9 @@ function createProfileOptionsUpdatedTestData1() { popupActionBarVisibility: 'auto', popupActionBarLocation: 'top', frequencyDisplayMode: 'split-tags-grouped', - termDisplayMode: 'ruby' + termDisplayMode: 'ruby', + sortFrequencyDictionary: null, + sortFrequencyDictionaryOrder: 'descending' }, audio: { enabled: true, @@ -593,7 +595,7 @@ function createOptionsUpdatedTestData1() { } ], profileCurrent: 0, - version: 14, + version: 15, global: { database: { prefixWildcardsSupported: false |