diff --git a/src/__tests__/extensions/replay/config.test.ts b/src/__tests__/extensions/replay/config.test.ts index 20b2faec3..b6bc35115 100644 --- a/src/__tests__/extensions/replay/config.test.ts +++ b/src/__tests__/extensions/replay/config.test.ts @@ -210,13 +210,26 @@ describe('config', () => { describe('payloadHostDenyList', () => { it('uses a default when none provided', () => { const networkOptions = buildNetworkRequestOptions(defaultConfig(), {}) - expect(networkOptions.payloadHostDenyList).toEqual(['.lr-ingest.io', '.ingest.sentry.io']) + expect(networkOptions.payloadHostDenyList).toEqual([ + '.lr-ingest.io', + '.ingest.sentry.io', + '.clarity.ms', + 'analytics.google.com', + ]) }) + it('adds to the default when deny list is provided', () => { const networkOptions = buildNetworkRequestOptions(defaultConfig(), { payloadHostDenyList: ['wat', 'huh'], }) - expect(networkOptions.payloadHostDenyList).toEqual(['wat', 'huh', '.lr-ingest.io', '.ingest.sentry.io']) + expect(networkOptions.payloadHostDenyList).toEqual([ + 'wat', + 'huh', + '.lr-ingest.io', + '.ingest.sentry.io', + '.clarity.ms', + 'analytics.google.com', + ]) }) }) })