Skip to content

Commit 1066da3

Browse files
committed
Revert remix test updates
1 parent f0abd54 commit 1066da3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

e2e-tests/tests/remix.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,17 +179,17 @@ function checkRemixProject(
179179

180180
test('entry.client file contains Sentry initialization', () => {
181181
checkFileContents(`${projectDir}/app/entry.client.tsx`, [
182-
'import * as Sentry from "@sentry/remix";',
183-
`Sentry.init({
182+
'import { init, replayIntegration, browserTracingIntegration } from "@sentry/remix";',
183+
`init({
184184
dsn: "${TEST_ARGS.PROJECT_DSN}",
185185
tracesSampleRate: 1,
186186
enableLogs: true,
187187
188-
integrations: [Sentry.browserTracingIntegration({
188+
integrations: [browserTracingIntegration({
189189
useEffect,
190190
useLocation,
191191
useMatches
192-
}), Sentry.replayIntegration({
192+
}), replayIntegration({
193193
maskAllText: true,
194194
blockAllMedia: true
195195
})],

0 commit comments

Comments
 (0)