Frontend tests improvements (#13115)

Fix warnings and lower coverage by 0.1%
This commit is contained in:
Félix Malfait
2025-07-09 09:23:26 +02:00
committed by GitHub
parent 6057bdd389
commit 6ba6860e1c
29 changed files with 435 additions and 237 deletions
@@ -178,17 +178,31 @@ const mocks: MockedResponse[] = [
data: {
updateTask: {
__typename: 'Task',
createdAt: '2024-03-15T07:33:14.212Z',
reminderAt: null,
authorId: '123',
title: 'Test',
status: 'DONE',
updatedAt: '2024-03-15T07:33:14.212Z',
body: 'Test',
dueAt: '2024-03-15T07:33:14.212Z',
type: 'TASK',
id: '123',
assignee: null,
assigneeId: '123',
attachments: { edges: [] },
body: 'Test',
bodyV2: {
blocknote: 'Test',
markdown: 'Test',
},
createdAt: '2024-03-15T07:33:14.212Z',
createdBy: {
source: 'MANUAL',
workspaceMemberId: '123',
name: 'Test User',
context: 'test',
},
deletedAt: null,
dueAt: '2024-03-15T07:33:14.212Z',
favorites: { edges: [] },
id: '123',
position: 1,
status: 'DONE',
taskTargets: { edges: [] },
timelineActivities: { edges: [] },
title: 'Test',
updatedAt: '2024-03-15T07:33:14.212Z',
},
},
})),