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
@@ -15,7 +15,7 @@ describe('computeDepthOneRecordGqlFieldsFromRecord', () => {
expect(result).toMatchInlineSnapshot(`
{
"attachments": false,
"avatarUrl": false,
"avatarUrl": true,
"calendarEventParticipants": false,
"city": true,
"company": true,
@@ -23,25 +23,25 @@ describe('computeDepthOneRecordGqlFieldsFromRecord', () => {
"createdAt": true,
"createdBy": true,
"deletedAt": true,
"emails": false,
"emails": true,
"favorites": false,
"id": true,
"intro": false,
"intro": true,
"jobTitle": true,
"linkedinLink": true,
"messageParticipants": false,
"name": true,
"noteTargets": true,
"performanceRating": false,
"performanceRating": true,
"phones": true,
"pointOfContactForOpportunities": false,
"position": true,
"searchVector": false,
"taskTargets": true,
"timelineActivities": false,
"updatedAt": false,
"whatsapp": false,
"workPreference": false,
"updatedAt": true,
"whatsapp": true,
"workPreference": true,
"xLink": true,
}
`);