Files
claude-task-master/scripts/task-complexity-report.json
Eyal Toledano d5360f625f fix: resolve all remaining test failures and improve test reliability
- Fix clear-subtasks test by implementing deep copy of mock data to prevent mutation issues between tests
- Fix add-task test by uncommenting and properly configuring generateTaskFiles call with correct parameters
- Fix analyze-task-complexity tests by properly mocking fs.writeFileSync with shared mock function
- Update test expectations to match actual function signatures and data structures
- Improve mock setup consistency across all test suites
- Ensure all tests now pass (329 total: 318 passed, 11 skipped, 0 failed)
2025-06-13 22:31:24 -04:00

45 lines
926 B
JSON

{
"meta": {
"generatedAt": "2025-06-14T02:15:51.082Z",
"tasksAnalyzed": 2,
"totalTasks": 3,
"analysisCount": 5,
"thresholdScore": 5,
"projectName": "Test Project",
"usedResearch": false
},
"complexityAnalysis": [
{
"id": 1,
"complexity": 3,
"subtaskCount": 2
},
{
"id": 2,
"complexity": 7,
"subtaskCount": 5
},
{
"id": 3,
"complexity": 9,
"subtaskCount": 8
},
{
"taskId": 1,
"taskTitle": "Task 1",
"complexityScore": 5,
"recommendedSubtasks": 3,
"expansionPrompt": "Break down this task with a focus on task 1.",
"reasoning": "Automatically added due to missing analysis in AI response."
},
{
"taskId": 2,
"taskTitle": "Task 2",
"complexityScore": 5,
"recommendedSubtasks": 3,
"expansionPrompt": "Break down this task with a focus on task 2.",
"reasoning": "Automatically added due to missing analysis in AI response."
}
]
}