chore: fix format

This commit is contained in:
Ralph Khreish
2025-07-11 14:13:00 +03:00
parent fff2172a30
commit ee2d9921c2
3 changed files with 24 additions and 10 deletions

View File

@@ -265,13 +265,13 @@ describe('analyzeTaskComplexity', () => {
_rawTaggedData: sampleTasks
};
});
// Mock findTaskById to return the expected structure
findTaskById.mockImplementation((tasks, taskId) => {
const task = tasks?.find(t => t.id === parseInt(taskId));
const task = tasks?.find((t) => t.id === parseInt(taskId));
return { task: task || null, originalSubtaskCount: null };
});
generateTextService.mockResolvedValue(sampleApiResponse);
});