mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 12:11:36 +00:00
test: tighten web and cron cli timeout budgets
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { Command } from "commander";
|
||||
import { describe, expect, it, vi } from "vitest";
|
||||
|
||||
const CRON_CLI_TEST_TIMEOUT_MS = 15_000;
|
||||
|
||||
const defaultGatewayMock = async (
|
||||
method: string,
|
||||
_opts: unknown,
|
||||
@@ -143,7 +145,7 @@ async function expectCronEditWithScheduleLookupExit(
|
||||
}
|
||||
|
||||
describe("cron cli", () => {
|
||||
it("trims model and thinking on cron add", { timeout: 60_000 }, async () => {
|
||||
it("trims model and thinking on cron add", { timeout: CRON_CLI_TEST_TIMEOUT_MS }, async () => {
|
||||
await runCronCommand([
|
||||
"cron",
|
||||
"add",
|
||||
|
||||
Reference in New Issue
Block a user