@@ -23,7 +23,7 @@ describe('buildClientSnippet', () => {
23
23
environment: import.meta.env.PUBLIC_VERCEL_ENV,
24
24
release: import.meta.env.PUBLIC_VERCEL_GIT_COMMIT_SHA,
25
25
tracesSampleRate: 1,
26
- integrations: [new Sentry.BrowserTracing (), new Sentry.Replay ()],
26
+ integrations: [Sentry.browserTracingIntegration (), Sentry.replayIntegration ()],
27
27
replaysSessionSampleRate: 0.1,
28
28
replaysOnErrorSampleRate: 1,
29
29
});"
@@ -43,7 +43,7 @@ describe('buildClientSnippet', () => {
43
43
release: \\"1.0.0\\",
44
44
tracesSampleRate: 0.3,
45
45
sampleRate: 0.2,
46
- integrations: [new Sentry.BrowserTracing (), new Sentry.Replay ()],
46
+ integrations: [Sentry.browserTracingIntegration (), Sentry.replayIntegration ()],
47
47
replaysSessionSampleRate: 0.5,
48
48
replaysOnErrorSampleRate: 0.4,
49
49
});"
@@ -61,7 +61,7 @@ describe('buildClientSnippet', () => {
61
61
environment: import.meta.env.PUBLIC_VERCEL_ENV,
62
62
release: import.meta.env.PUBLIC_VERCEL_GIT_COMMIT_SHA,
63
63
tracesSampleRate: 0,
64
- integrations: [new Sentry.Replay ()],
64
+ integrations: [Sentry.replayIntegration ()],
65
65
replaysSessionSampleRate: 0.1,
66
66
replaysOnErrorSampleRate: 1,
67
67
});"
@@ -80,7 +80,7 @@ it('does not include Replay if replay sample ratest are 0', () => {
80
80
environment: import.meta.env.PUBLIC_VERCEL_ENV,
81
81
release: import.meta.env.PUBLIC_VERCEL_GIT_COMMIT_SHA,
82
82
tracesSampleRate: 1,
83
- integrations: [new Sentry.BrowserTracing ()],
83
+ integrations: [Sentry.browserTracingIntegration ()],
84
84
replaysSessionSampleRate: 0,
85
85
replaysOnErrorSampleRate: 0,
86
86
});"
0 commit comments