mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 14:34:46 +00:00
test: dedupe scheduled turn mock read
This commit is contained in:
@@ -130,7 +130,7 @@ function mockCronAdd(response: CronJob) {
|
||||
}
|
||||
|
||||
function getCronAddBody() {
|
||||
const addCall = workflowMocks.cronAdd.mock.calls.at(0);
|
||||
const addCall = workflowMocks.cronAdd.mock.calls[0];
|
||||
if (!addCall) {
|
||||
throw new Error("Expected cron add call");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user