fix: stabilize windows test timeouts

This commit is contained in:
Peter Steinberger
2026-01-19 12:35:58 +00:00
parent 9e06d945a2
commit ba2514fc4c
4 changed files with 6 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ async function rmTempDir(dir: string) {
}
describe("gateway server cron", () => {
test("supports cron.add and cron.list", async () => {
test("supports cron.add and cron.list", { timeout: 120_000 }, async () => {
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-gw-cron-"));
testState.cronStorePath = path.join(dir, "cron", "jobs.json");
await fs.mkdir(path.dirname(testState.cronStorePath), { recursive: true });