Frontend tests improvements (#13115)
Fix warnings and lower coverage by 0.1%
This commit is contained in:
+24
-10
@@ -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',
|
||||
},
|
||||
},
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user