mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-23 22:55:24 +00:00
fix(test): remove stale cleanup calls in cron regressions
This commit is contained in:
@@ -276,7 +276,6 @@ describe("Cron issue regressions", () => {
|
||||
expect(updated.state.nextRunAtMs).toBeGreaterThan(now);
|
||||
|
||||
cron.stop();
|
||||
await store.cleanup();
|
||||
});
|
||||
|
||||
it("treats persisted due jobs with missing enabled as runnable", async () => {
|
||||
@@ -327,7 +326,6 @@ describe("Cron issue regressions", () => {
|
||||
);
|
||||
|
||||
cron.stop();
|
||||
await store.cleanup();
|
||||
});
|
||||
|
||||
it("caps timer delay to 60s for far-future schedules", async () => {
|
||||
|
||||
Reference in New Issue
Block a user