Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesBochet committed Oct 17, 2024
1 parent 8093074 commit 0228e1e
Show file tree
Hide file tree
Showing 11 changed files with 105 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,6 @@ describe('companies resolvers (integration)', () => {

const response = await makeGraphqlAPIRequest(graphqlOperation);

console.log(response);

const updatedCompanies = response.body.data.updateCompanies;

expect(updatedCompanies).toHaveLength(2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,22 @@ describe('calendarChannelEventAssociationsResolver (e2e)', () => {
if (edges.length > 0) {
const calendarChannelEventAssociations = edges[0].node;

expect(calendarChannelEventAssociations).toHaveProperty('eventExternalId');
expect(calendarChannelEventAssociations).toHaveProperty('recurringEventExternalId');
expect(calendarChannelEventAssociations).toHaveProperty(
'eventExternalId',
);
expect(calendarChannelEventAssociations).toHaveProperty(
'recurringEventExternalId',
);
expect(calendarChannelEventAssociations).toHaveProperty('id');
expect(calendarChannelEventAssociations).toHaveProperty('createdAt');
expect(calendarChannelEventAssociations).toHaveProperty('updatedAt');
expect(calendarChannelEventAssociations).toHaveProperty('deletedAt');
expect(calendarChannelEventAssociations).toHaveProperty('calendarChannelId');
expect(calendarChannelEventAssociations).toHaveProperty('calendarEventId');
expect(calendarChannelEventAssociations).toHaveProperty(
'calendarChannelId',
);
expect(calendarChannelEventAssociations).toHaveProperty(
'calendarEventId',
);
}
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ describe('calendarChannelsResolver (e2e)', () => {
expect(calendarChannels).toHaveProperty('syncStatus');
expect(calendarChannels).toHaveProperty('syncStage');
expect(calendarChannels).toHaveProperty('visibility');
expect(calendarChannels).toHaveProperty('isContactAutoCreationEnabled');
expect(calendarChannels).toHaveProperty(
'isContactAutoCreationEnabled',
);
expect(calendarChannels).toHaveProperty('contactAutoCreationPolicy');
expect(calendarChannels).toHaveProperty('isSyncEnabled');
expect(calendarChannels).toHaveProperty('syncCursor');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,20 @@ describe('messageChannelMessageAssociationsResolver (e2e)', () => {
if (edges.length > 0) {
const messageChannelMessageAssociations = edges[0].node;

expect(messageChannelMessageAssociations).toHaveProperty('messageExternalId');
expect(messageChannelMessageAssociations).toHaveProperty('messageThreadExternalId');
expect(messageChannelMessageAssociations).toHaveProperty(
'messageExternalId',
);
expect(messageChannelMessageAssociations).toHaveProperty(
'messageThreadExternalId',
);
expect(messageChannelMessageAssociations).toHaveProperty('direction');
expect(messageChannelMessageAssociations).toHaveProperty('id');
expect(messageChannelMessageAssociations).toHaveProperty('createdAt');
expect(messageChannelMessageAssociations).toHaveProperty('updatedAt');
expect(messageChannelMessageAssociations).toHaveProperty('deletedAt');
expect(messageChannelMessageAssociations).toHaveProperty('messageChannelId');
expect(messageChannelMessageAssociations).toHaveProperty(
'messageChannelId',
);
expect(messageChannelMessageAssociations).toHaveProperty('messageId');
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,13 @@ describe('messageChannelsResolver (e2e)', () => {
expect(messageChannels).toHaveProperty('visibility');
expect(messageChannels).toHaveProperty('handle');
expect(messageChannels).toHaveProperty('type');
expect(messageChannels).toHaveProperty('isContactAutoCreationEnabled');
expect(messageChannels).toHaveProperty(
'isContactAutoCreationEnabled',
);
expect(messageChannels).toHaveProperty('contactAutoCreationPolicy');
expect(messageChannels).toHaveProperty('excludeNonProfessionalEmails');
expect(messageChannels).toHaveProperty(
'excludeNonProfessionalEmails',
);
expect(messageChannels).toHaveProperty('excludeGroupEmails');
expect(messageChannels).toHaveProperty('isSyncEnabled');
expect(messageChannels).toHaveProperty('syncCursor');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,28 @@ describe('searchCalendarChannelEventAssociationsResolver (e2e)', () => {
if (edges.length > 0) {
const searchCalendarChannelEventAssociations = edges[0].node;

expect(searchCalendarChannelEventAssociations).toHaveProperty('eventExternalId');
expect(searchCalendarChannelEventAssociations).toHaveProperty('recurringEventExternalId');
expect(searchCalendarChannelEventAssociations).toHaveProperty(
'eventExternalId',
);
expect(searchCalendarChannelEventAssociations).toHaveProperty(
'recurringEventExternalId',
);
expect(searchCalendarChannelEventAssociations).toHaveProperty('id');
expect(searchCalendarChannelEventAssociations).toHaveProperty('createdAt');
expect(searchCalendarChannelEventAssociations).toHaveProperty('updatedAt');
expect(searchCalendarChannelEventAssociations).toHaveProperty('deletedAt');
expect(searchCalendarChannelEventAssociations).toHaveProperty('calendarChannelId');
expect(searchCalendarChannelEventAssociations).toHaveProperty('calendarEventId');
expect(searchCalendarChannelEventAssociations).toHaveProperty(
'createdAt',
);
expect(searchCalendarChannelEventAssociations).toHaveProperty(
'updatedAt',
);
expect(searchCalendarChannelEventAssociations).toHaveProperty(
'deletedAt',
);
expect(searchCalendarChannelEventAssociations).toHaveProperty(
'calendarChannelId',
);
expect(searchCalendarChannelEventAssociations).toHaveProperty(
'calendarEventId',
);
}
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,12 @@ describe('searchCalendarChannelsResolver (e2e)', () => {
expect(searchCalendarChannels).toHaveProperty('syncStatus');
expect(searchCalendarChannels).toHaveProperty('syncStage');
expect(searchCalendarChannels).toHaveProperty('visibility');
expect(searchCalendarChannels).toHaveProperty('isContactAutoCreationEnabled');
expect(searchCalendarChannels).toHaveProperty('contactAutoCreationPolicy');
expect(searchCalendarChannels).toHaveProperty(
'isContactAutoCreationEnabled',
);
expect(searchCalendarChannels).toHaveProperty(
'contactAutoCreationPolicy',
);
expect(searchCalendarChannels).toHaveProperty('isSyncEnabled');
expect(searchCalendarChannels).toHaveProperty('syncCursor');
expect(searchCalendarChannels).toHaveProperty('syncedAt');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,20 @@ describe('searchCalendarEventParticipantsResolver (e2e)', () => {
expect(searchCalendarEventParticipants).toHaveProperty('handle');
expect(searchCalendarEventParticipants).toHaveProperty('displayName');
expect(searchCalendarEventParticipants).toHaveProperty('isOrganizer');
expect(searchCalendarEventParticipants).toHaveProperty('responseStatus');
expect(searchCalendarEventParticipants).toHaveProperty(
'responseStatus',
);
expect(searchCalendarEventParticipants).toHaveProperty('id');
expect(searchCalendarEventParticipants).toHaveProperty('createdAt');
expect(searchCalendarEventParticipants).toHaveProperty('updatedAt');
expect(searchCalendarEventParticipants).toHaveProperty('deletedAt');
expect(searchCalendarEventParticipants).toHaveProperty('calendarEventId');
expect(searchCalendarEventParticipants).toHaveProperty(
'calendarEventId',
);
expect(searchCalendarEventParticipants).toHaveProperty('personId');
expect(searchCalendarEventParticipants).toHaveProperty('workspaceMemberId');
expect(searchCalendarEventParticipants).toHaveProperty(
'workspaceMemberId',
);
}
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,31 @@ describe('searchMessageChannelMessageAssociationsResolver (e2e)', () => {
if (edges.length > 0) {
const searchMessageChannelMessageAssociations = edges[0].node;

expect(searchMessageChannelMessageAssociations).toHaveProperty('messageExternalId');
expect(searchMessageChannelMessageAssociations).toHaveProperty('messageThreadExternalId');
expect(searchMessageChannelMessageAssociations).toHaveProperty('direction');
expect(searchMessageChannelMessageAssociations).toHaveProperty(
'messageExternalId',
);
expect(searchMessageChannelMessageAssociations).toHaveProperty(
'messageThreadExternalId',
);
expect(searchMessageChannelMessageAssociations).toHaveProperty(
'direction',
);
expect(searchMessageChannelMessageAssociations).toHaveProperty('id');
expect(searchMessageChannelMessageAssociations).toHaveProperty('createdAt');
expect(searchMessageChannelMessageAssociations).toHaveProperty('updatedAt');
expect(searchMessageChannelMessageAssociations).toHaveProperty('deletedAt');
expect(searchMessageChannelMessageAssociations).toHaveProperty('messageChannelId');
expect(searchMessageChannelMessageAssociations).toHaveProperty('messageId');
expect(searchMessageChannelMessageAssociations).toHaveProperty(
'createdAt',
);
expect(searchMessageChannelMessageAssociations).toHaveProperty(
'updatedAt',
);
expect(searchMessageChannelMessageAssociations).toHaveProperty(
'deletedAt',
);
expect(searchMessageChannelMessageAssociations).toHaveProperty(
'messageChannelId',
);
expect(searchMessageChannelMessageAssociations).toHaveProperty(
'messageId',
);
}
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,15 @@ describe('searchMessageChannelsResolver (e2e)', () => {
expect(searchMessageChannels).toHaveProperty('visibility');
expect(searchMessageChannels).toHaveProperty('handle');
expect(searchMessageChannels).toHaveProperty('type');
expect(searchMessageChannels).toHaveProperty('isContactAutoCreationEnabled');
expect(searchMessageChannels).toHaveProperty('contactAutoCreationPolicy');
expect(searchMessageChannels).toHaveProperty('excludeNonProfessionalEmails');
expect(searchMessageChannels).toHaveProperty(
'isContactAutoCreationEnabled',
);
expect(searchMessageChannels).toHaveProperty(
'contactAutoCreationPolicy',
);
expect(searchMessageChannels).toHaveProperty(
'excludeNonProfessionalEmails',
);
expect(searchMessageChannels).toHaveProperty('excludeGroupEmails');
expect(searchMessageChannels).toHaveProperty('isSyncEnabled');
expect(searchMessageChannels).toHaveProperty('syncCursor');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,13 @@ describe('searchTimelineActivitiesResolver (e2e)', () => {
expect(searchTimelineActivities).toHaveProperty('happensAt');
expect(searchTimelineActivities).toHaveProperty('name');
expect(searchTimelineActivities).toHaveProperty('properties');
expect(searchTimelineActivities).toHaveProperty('linkedRecordCachedName');
expect(searchTimelineActivities).toHaveProperty(
'linkedRecordCachedName',
);
expect(searchTimelineActivities).toHaveProperty('linkedRecordId');
expect(searchTimelineActivities).toHaveProperty('linkedObjectMetadataId');
expect(searchTimelineActivities).toHaveProperty(
'linkedObjectMetadataId',
);
expect(searchTimelineActivities).toHaveProperty('id');
expect(searchTimelineActivities).toHaveProperty('createdAt');
expect(searchTimelineActivities).toHaveProperty('updatedAt');
Expand Down

0 comments on commit 0228e1e

Please sign in to comment.