Skip to content

Commit ccbd697

Browse files
committed
fix tests
1 parent 6dcefbf commit ccbd697

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/negatively-sampled/init.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ window.Sentry = Sentry;
44

55
Sentry.init({
66
dsn: 'https://[email protected]/1337',
7-
integrations: [Sentry.browserTracingIntegration()],
7+
// We want to ignore redirects for this test
8+
integrations: [Sentry.browserTracingIntegration({ detectRedirects: false })],
89
tracesSampler: ctx => {
910
if (ctx.attributes['sentry.origin'] === 'auto.pageload.browser') {
1011
return 0;

packages/nextjs/test/performance/pagesRouterInstrumentation.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ describe('pagesRouterInstrumentNavigation', () => {
332332
'sentry.source': expectedTransactionSource,
333333
},
334334
}),
335+
{ isRedirect: undefined },
335336
);
336337
},
337338
);

0 commit comments

Comments
 (0)