The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Keep add-people-to-message-list spec from flooding the workflow queue (#27842)
Félix Malfaitecea6bea44ac
diff --git a/packages/twenty-server/test/integration/emailing/add-people-to-message-list.integration-spec.ts b/packages/twenty-server/test/integration/emailing/add-people-to-message-list.integration-spec.tsindex 6c1958f9580..312d5f0c322 100644--- a/packages/twenty-server/test/integration/emailing/add-people-to-message-list.integration-spec.ts+++ b/packages/twenty-server/test/integration/emailing/add-people-to-message-list.integration-spec.ts@@ -6,7 +6,7 @@ import { makeMetadataApiRequest } from 'test/integration/metadata/suites/utils/mimport { updateFeatureFlag } from 'test/integration/metadata/suites/utils/update-feature-flag.util';import { expectEventually } from 'test/integration/utils/expect-eventually.util';import { getAppProviderByClassName } from 'test/integration/utils/get-app-provider-by-class-name.util';-import { FeatureFlagKey } from 'twenty-shared/types';+import { FeatureFlagKey, FieldActorSource } from 'twenty-shared/types';import { v4 } from 'uuid';import { type FeatureFlagService } from 'src/engine/core-modules/feature-flag/services/feature-flag.service';@@ -19,6 +19,7 @@ import { type AddPeopleToMessageListService } from 'src/modules/emailing/serviceconst people = Array.from({ length: 1005 }, (_, index) => ({id: v4(),name: { firstName: `List ${index}`, lastName: v4() },+ createdBy: { source: FieldActorSource.EMAIL },}));const personIds = people.map(({ id }) => id);const messageListIds: string[] = [];