⚡ 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): tighten GitHub label helper assertions
Tin7d37ac74fd4e
diff --git a/tests/api/plugins/github/utils/labels.test.ts b/tests/api/plugins/github/utils/labels.test.tsindex 8fc5cde6b..a6a7c98d1 100644--- a/tests/api/plugins/github/utils/labels.test.ts+++ b/tests/api/plugins/github/utils/labels.test.ts@@ -38,6 +38,7 @@ describe("github labels helpers", () => {]);expect(octokit.rest.issues.getLabel).toHaveBeenCalledTimes(2);+ expect(octokit.rest.issues.createLabel).toHaveBeenCalledTimes(1);expect(octokit.rest.issues.createLabel).toHaveBeenCalledWith({owner: "usekaneo",repo: "kaneo",@@ -55,6 +56,8 @@ describe("github labels helpers", () => {"status:done",]);+ expect(octokit.rest.issues.getLabel).toHaveBeenCalledTimes(2);+ expect(octokit.rest.issues.createLabel).not.toHaveBeenCalled();expect(octokit.rest.issues.addLabels).toHaveBeenCalledWith({owner: "usekaneo",repo: "kaneo",