diff --git a/packages/spools/tests/integration/campaigns.test.ts b/packages/spools/tests/integration/campaigns.test.ts index 8bfaeb3..c8e6a9a 100644 --- a/packages/spools/tests/integration/campaigns.test.ts +++ b/packages/spools/tests/integration/campaigns.test.ts @@ -105,6 +105,8 @@ async function contact(name: string, extra: Record = {}) { beforeAll(async () => { process.env['APP_SECRET'] = 's'.repeat(40) + // Unsubscribe links need the CRM's address. Set here, not left to whichever test file ran before. + process.env['APP_URL'] = 'https://crm.example.com' await installStandIns({ sequences: Sequences.layerTest(() => sequences),