aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-08-20 11:17:24 -0400
committerGitHub <noreply@github.com>2022-08-20 11:17:24 -0400
commit310303ca1a123a77f9bd116af4dc64ad9c3256c5 (patch)
treeaf8bad0ec544625970a5f2a4613fff27773b162c /test
parent02483a45b1b7fb0654b3f37571b92400b76734a5 (diff)
Audio download timeout (#2187)
* Add support for an idle timeout when downloading audio * Update eslint rules * Pass idleTimeout to the downloader from DisplayAnki * Add anki.downloadTimeout setting * Update tests * Assign _audioDownloadIdleTimeout using settings * Show info about cancelled downloads * Handle Firefox bug * Improve audio errors * Refactor * Move functions to RequestBuilder
Diffstat (limited to 'test')
-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 16660fd0..af64e7dd 100644
--- a/test/test-options-util.js
+++ b/test/test-options-util.js
@@ -470,7 +470,8 @@ function createProfileOptionsUpdatedTestData1() {
fieldTemplates: null,
suspendNewCards: false,
noteGuiMode: 'browse',
- apiKey: ''
+ apiKey: '',
+ downloadTimeout: 0
},
sentenceParsing: {
scanExtent: 200,
@@ -619,7 +620,7 @@ function createOptionsUpdatedTestData1() {
}
],
profileCurrent: 0,
- version: 19,
+ version: 20,
global: {
database: {
prefixWildcardsSupported: false