ISSUE-825 Improve refresh without WS (#826)

This commit is contained in:
Benoit TELLIER
2026-04-24 10:05:42 +02:00
committed by GitHub
parent 126fac845b
commit 138cfd7f4e
6 changed files with 165 additions and 19 deletions
@@ -60,6 +60,7 @@ describe('websocket messages storm', () => {
;(getDisplayedCalendarRange as jest.Mock).mockReturnValue(mockRange)
;(store.getState as jest.Mock).mockReturnValue(mockState)
window.WS_DEBOUNCE_PERIOD_MS = 500
window.WS_SKIP_DELAY_MS = 0
mockAccumulators.calendarsToRefresh = new Map<string, any>()
mockAccumulators.calendarsToHide = new Set()
mockAccumulators.shouldRefreshCalendarListRef.current = false