Skip to content

Commit

Permalink
fix(tests): Reduce interrupt interval for non-nextcloud tests
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr committed Apr 6, 2024
1 parent 77c1acc commit 05c8073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4792,7 +4792,7 @@ describe('Floccus', function() {
const setInterrupt = () => {
if (!timeouts.length) {
timeouts = new Array(1000).fill(0).map(() =>
ACCOUNT_DATA.type === 'nextcloud-bookmarks' ? random.int(50000, 150000) : random.int(500,20000)
ACCOUNT_DATA.type === 'nextcloud-bookmarks' ? random.int(50000, 150000) : random.int(500,6000)
)
}
const timeout = timeouts[(i++) % 1000]
Expand Down

0 comments on commit 05c8073

Please sign in to comment.