add #timeout, macro errors, refactor tests (#191)

This commit is contained in:
David Blass
2026-01-28 21:06:57 +00:00
committed by pullfrog[bot]
parent f77fecc2a0
commit 943409c417
18 changed files with 472 additions and 94 deletions
+7
View File
@@ -24,6 +24,10 @@ describe("Inputs schema", () => {
["effort", "mini"],
["effort", "auto"],
["effort", "max"],
["timeout", "10m"],
["timeout", "1h30m"],
["timeout", "30s"],
["timeout", undefined],
["agent", "claude"],
["agent", "codex"],
["agent", "cursor"],
@@ -63,6 +67,9 @@ describe("JsonPayload schema", () => {
["effort", "mini"],
["effort", "auto"],
["effort", "max"],
["timeout", "10m"],
["timeout", "1h30m"],
["timeout", "30s"],
["event", { trigger: "unknown" }],
] as const)("should accept optional %s with value %s", (prop, value) => {
const input = { "~pullfrog": true, version: "1.2.3", [prop]: value };