mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:00:43 +00:00
test(cron): exercise maintenance repair path for #66019
This commit is contained in:
@@ -136,7 +136,7 @@ describe("#66019 unresolved next-run repro", () => {
|
||||
const nextRunSpy = vi
|
||||
.spyOn(schedule, "computeNextRunAtMs")
|
||||
.mockReturnValueOnce(undefined)
|
||||
.mockReturnValueOnce(naturalNext)
|
||||
.mockReturnValueOnce(undefined)
|
||||
.mockReturnValue(naturalNext);
|
||||
const state = createCronServiceState({
|
||||
cronEnabled: true,
|
||||
|
||||
Reference in New Issue
Block a user