From 8073a27f9d47735e3966f769cf32f653334633e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=81=D0=B5=D0=BB=D1=8C?= Date: Fri, 13 Nov 2026 15:01:00 +0500 Subject: [PATCH] Fix stray argument in incidents test (broken in c964a00, main didn't typecheck) Co-Authored-By: Claude Opus 5.5 --- packages/testkit/test/incidents.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/testkit/test/incidents.test.ts b/packages/testkit/test/incidents.test.ts index b82bb807..fd07e926 100644 --- a/packages/testkit/test/incidents.test.ts +++ b/packages/testkit/test/incidents.test.ts @@ -503,8 +503,7 @@ describe("MCP для PM", () => { await bugsink.capture(c.api, { ...AMOUNT, value: "via mcp" }); const i = await waitIncident(c, "TypeError: via mcp", (x) => x.status === "pending"); assert.match(await call("list_incidents", { project: c.key, status: "pending" }), new RegExp(`#${i.id} \\[pending\\] TypeError: via mcp`)); - assert.match(await call("decide_incident", - "deploy", { id: i.id, action: "backlog" }), /created in the backlog/); + assert.match(await call("decide_incident", { id: i.id, action: "backlog" }), /created in the backlog/); assert.match(await call("resolve_incident", { id: i.id }), /Incident #\d+ resolved/); await waitFor("ask message closed", async () => pmMessages("via mcp").some((m) => m.text.includes("Решено (mock-pm): в бэклог"))); });