Skip to content

Commit

Permalink
test(portable-text-editor): increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard authored and rexxars committed Sep 14, 2022
1 parent 96d61b3 commit 66b1766
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const WEB_SERVER_ROOT_URL = 'http://localhost:3000'
const DEBUG = process.env.DEBUG || false

// Wait this long for selections and a new doc revision to appear on the clients
const SELECTION_TIMEOUT_MS = 50 // This will also be an indicator of the performance in the editor. Set it as low as possible without breaking the tests.
const SELECTION_TIMEOUT_MS = 1000 // This will also be an indicator of the performance in the editor. Set it as low as possible without breaking the tests.
const REVISION_TIMEOUT_MS = FLUSH_PATCHES_DEBOUNCE_MS + 300 // 300 seems to be the limit for the doc patching to go full circle (increase this if tests starts to time out)

// eslint-disable-next-line no-process-env
Expand Down

0 comments on commit 66b1766

Please sign in to comment.