test: align idle watchdog expectation with stale window

This commit is contained in:
777genius 2026-05-30 16:32:20 +03:00
parent 1af8dd638b
commit f4155a6742

View file

@ -563,7 +563,7 @@ describe('team change throttling', () => {
{ type: 'lead-activity', teamName: 'my-team', detail: 'active', runId: 'run-1' }
);
await vi.advanceTimersByTimeAsync(29_999);
await vi.advanceTimersByTimeAsync(59_999);
expect(refreshTeamDataSpy).not.toHaveBeenCalled();
await vi.advanceTimersByTimeAsync(1);