mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-23 22:55:24 +00:00
test(perf): reduce cron overlap timer advance slack
This commit is contained in:
@@ -599,7 +599,7 @@ describe("Cron issue regressions", () => {
|
||||
await runStarted.promise;
|
||||
expect(runIsolatedAgentJob).toHaveBeenCalledTimes(1);
|
||||
|
||||
await vi.advanceTimersByTimeAsync(120);
|
||||
await vi.advanceTimersByTimeAsync(105);
|
||||
await Promise.resolve();
|
||||
expect(runIsolatedAgentJob).toHaveBeenCalledTimes(1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user