Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix(tests): update label test

justin92f5aa73d265
diff --git a/tests/api/label/assign-and-unassign-label.test.ts b/tests/api/label/assign-and-unassign-label.test.ts
index 047c462c7..4d243692d 100644
--- a/tests/api/label/assign-and-unassign-label.test.ts
+++ b/tests/api/label/assign-and-unassign-label.test.ts
@@ -296,7 +296,7 @@ describe("assignLabelToTask", () => {
const insertChain = makeInsertMock(undefined);
mockInsert.mockReturnValue(insertChain);
mockFindFirst.mockResolvedValueOnce(WORKSPACE_LABEL);
- mockFindFirst.mockResolvedValueOnce(TASK_LABEL);
+ mockFindFirst.mockResolvedValueOnce(WORKSPACE_LABEL);
await assignLabelToTask("label-ws-1", "task-1", "user-1");