⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
test(integrations): provide a fresh confirmation after metadata changes
Tina404003d3adf
diff --git a/tests/api-integration/integration-task-ownership.test.ts b/tests/api-integration/integration-task-ownership.test.tsindex 600385772..04d7a6a95 100644--- a/tests/api-integration/integration-task-ownership.test.ts+++ b/tests/api-integration/integration-task-ownership.test.ts@@ -74,6 +74,7 @@ beforeEach(async () => {vi.clearAllMocks();m.publish.mockReset().mockResolvedValue(undefined);m.listIssues.mockResolvedValue([remoteIssue]);+ m.getIssue.mockReset().mockResolvedValue(remoteIssue);m.listIssueComments.mockResolvedValue([]);m.listIssueNotes.mockResolvedValue([]);});@@ -515,7 +516,8 @@ it("keeps outbound history committed during an inbound provider read", async ()issue: remoteIssue,changes: { title: { from: "Old" } },});- expect(m.getIssue).toHaveBeenCalledOnce();+ // The outbound metadata change invalidates the first provider confirmation.+ expect(m.getIssue).toHaveBeenCalledTimes(2);const saved = await db.query.externalLinkTable.findFirst({where: eq(schema.externalLinkTable.id, link.id),});