fix(gsd): add missing cmd field to test base WorkflowEvent

This commit is contained in:
Jeremy 2026-04-07 13:53:42 -05:00
parent 49ede9e3bb
commit 9b998def03

View file

@ -136,7 +136,7 @@ describe("isClosedStatus drives projection checkbox logic", () => {
// the underscored format that Wave 5's extractEntityKey handles directly.
describe("extractEntityKey recognizes underscored cmds", () => {
const base: WorkflowEvent = { params: {}, ts: "", hash: "", actor: "agent", session_id: "" };
const base: WorkflowEvent = { cmd: "", params: {}, ts: "", hash: "", actor: "agent", session_id: "" };
test("complete_task → task entity", () => {
const key = extractEntityKey({ ...base, cmd: "complete_task", params: { taskId: "T01" } });