⚡ 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(api): cover both cross-project relation directions
Juanfbf76a4970cd
diff --git a/tests/api-integration/task-relation-project.test.ts b/tests/api-integration/task-relation-project.test.tsindex cca2a4331..b641e1523 100644--- a/tests/api-integration/task-relation-project.test.ts+++ b/tests/api-integration/task-relation-project.test.ts@@ -105,7 +105,10 @@ describe("API integration: project task relations", () => {const outside = await seedTask(member.user.id, other.project.id, "Outside");const kept = await relate(parent.id, inside.id);+ // Both directions: the endpoint requires each end to be in the project,+ // so an outward and an inward edge exercise a different check each.await relate(parent.id, outside.id);+ await relate(outside.id, parent.id);const response = await fetchProjectRelations(project.id);const payload = (await response.json()) as RelationRow[];