mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:41:09 +02:00
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:
parent
0893e47ad3
commit
89ca3b0454
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue