Files
ThreadNet-Web/apps/web/test/unit-tests
hayyaksiandGitHub 3153912cc1 Throttle notification sounds so a backlog doesn't play them all at once (#33989)
After waking from sleep (notably macOS Sequoia), the whole sync backlog is delivered in one
batch, so every backlogged notifying event calls playAudioNotification near-simultaneously
and the identical audio buffers superimpose into a single loud "stacked" sound.

Throttle audible plays to at most one per distinct resolved sound within
NOTIFICATION_SOUND_THROTTLE_MS, keyed on the sound so two genuinely different sounds arriving
within the window each still play. The throttle runs only after the existing silencing gate,
so it suppresses redundant audible plays without affecting the gating logic.
2026-07-06 15:11:58 +00:00
..
2026-07-01 12:49:18 +00:00
2026-07-01 12:49:18 +00:00
2026-07-01 12:49:18 +00:00
2026-07-02 09:07:37 +00:00

Any UTs for vector-web layer components or functionality should go here. This used to contain the UTs for notifications before they got moved to react-sdk.