FN-6189: add moved-task coverage to GitHub delete test
Extend the delete-flow regression test to cover tasks that pass through active workflow states before completion. - move the tracked task through todo and in-progress before marking it done - verify the delete-path close behavior still uses the linked GitHub issue after those state transitions Files changed: packages/dashboard/src/__tests__/github-tracking-delete.test.ts | 2 ++ 1 file changed, 2 insertions(+) Fusion-Task-Id: FN-6189 Fusion-Task-Lineage: 986497ff-c45c-4c0b-9d50-87d9f6570bf1
This commit is contained in:
@@ -234,6 +234,8 @@ describe("github tracking delete flow", () => {
|
||||
createdAt: new Date().toISOString(),
|
||||
});
|
||||
|
||||
await store.moveTask(task.id, "todo");
|
||||
await store.moveTask(task.id, "in-progress");
|
||||
await store.moveTask(task.id, "done");
|
||||
mockSetIssueState.mockClear();
|
||||
mockGetIssue.mockResolvedValue({ state: "closed" });
|
||||
|
||||
Reference in New Issue
Block a user