fix(manacore): update todo service test mock to match new Task type

Update mockTask to use labels/subtasks instead of removed labelIds field.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-23 21:57:52 +01:00
parent 0893e47ad3
commit 89ca3b0454

View file

@ -20,7 +20,8 @@ const mockTask = (overrides: Partial<Task> = {}): Task => ({
priority: 'medium',
isCompleted: false,
status: 'pending',
labelIds: [],
labels: [],
subtasks: null,
createdAt: '2026-01-01',
updatedAt: '2026-03-01',
...overrides,