mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
fix(ci): fix ui cron test mock signature
This commit is contained in:
@@ -20,7 +20,7 @@ function createState(overrides: Partial<CronState> = {}): CronState {
|
||||
|
||||
describe("cron controller", () => {
|
||||
it("forwards notify in cron.add payload", async () => {
|
||||
const request = vi.fn(async (method: string) => {
|
||||
const request = vi.fn(async (method: string, _payload?: unknown) => {
|
||||
if (method === "cron.add") {
|
||||
return { id: "job-1" };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user