aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src/regression.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend-vanilla/src/regression.test.ts')
-rw-r--r--frontend-vanilla/src/regression.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend-vanilla/src/regression.test.ts b/frontend-vanilla/src/regression.test.ts
index 7f72ed5..972b221 100644
--- a/frontend-vanilla/src/regression.test.ts
+++ b/frontend-vanilla/src/regression.test.ts
@@ -202,8 +202,8 @@ describe('Scroll-to-Read Regression Tests', () => {
// Dispatch scroll on WINDOW, not mainContent
window.dispatchEvent(new Event('scroll'));
- // Wait for potential debounce/poll (3000ms interval + buffer)
- await new Promise(resolve => setTimeout(resolve, 3100));
+ // Wait for potential debounce/poll
+ await new Promise(resolve => setTimeout(resolve, 1100));
// Expect it to handle it
expect(apiFetch).toHaveBeenCalledWith(expect.stringContaining('/api/item/12345'), expect.objectContaining({