@@ -23,7 +23,7 @@ describe('buildClientSnippet', () => {
2323 environment: import.meta.env.PUBLIC_VERCEL_ENV,
2424 release: import.meta.env.PUBLIC_VERCEL_GIT_COMMIT_SHA,
2525 tracesSampleRate: 1,
26- integrations: [new Sentry.BrowserTracing (), new Sentry.Replay ()],
26+ integrations: [Sentry.browserTracingIntegration (), Sentry.replayIntegration ()],
2727 replaysSessionSampleRate: 0.1,
2828 replaysOnErrorSampleRate: 1,
2929 });"
@@ -43,7 +43,7 @@ describe('buildClientSnippet', () => {
4343 release: \\"1.0.0\\",
4444 tracesSampleRate: 0.3,
4545 sampleRate: 0.2,
46- integrations: [new Sentry.BrowserTracing (), new Sentry.Replay ()],
46+ integrations: [Sentry.browserTracingIntegration (), Sentry.replayIntegration ()],
4747 replaysSessionSampleRate: 0.5,
4848 replaysOnErrorSampleRate: 0.4,
4949 });"
@@ -61,7 +61,7 @@ describe('buildClientSnippet', () => {
6161 environment: import.meta.env.PUBLIC_VERCEL_ENV,
6262 release: import.meta.env.PUBLIC_VERCEL_GIT_COMMIT_SHA,
6363 tracesSampleRate: 0,
64- integrations: [new Sentry.Replay ()],
64+ integrations: [Sentry.replayIntegration ()],
6565 replaysSessionSampleRate: 0.1,
6666 replaysOnErrorSampleRate: 1,
6767 });"
@@ -80,7 +80,7 @@ it('does not include Replay if replay sample ratest are 0', () => {
8080 environment: import.meta.env.PUBLIC_VERCEL_ENV,
8181 release: import.meta.env.PUBLIC_VERCEL_GIT_COMMIT_SHA,
8282 tracesSampleRate: 1,
83- integrations: [new Sentry.BrowserTracing ()],
83+ integrations: [Sentry.browserTracingIntegration ()],
8484 replaysSessionSampleRate: 0,
8585 replaysOnErrorSampleRate: 0,
8686 });"
0 commit comments