Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Aug 12, 2024

closes #13012

ref: #13323

@s1gr1d s1gr1d requested review from a team, andreiborza and lforst and removed request for a team August 12, 2024 14:44
Copy link
Contributor

github-actions bot commented Aug 12, 2024

size-limit report 📦

Path Size
@sentry/browser 22.5 KB (0%)
@sentry/browser (incl. Tracing) 34.3 KB (0%)
@sentry/browser (incl. Tracing, Replay) 70.52 KB (0%)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.83 KB (0%)
@sentry/browser (incl. Tracing, Replay with Canvas) 74.91 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) 87.54 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 89.36 KB (0%)
@sentry/browser (incl. metrics) 26.81 KB (0%)
@sentry/browser (incl. Feedback) 39.47 KB (0%)
@sentry/browser (incl. sendFeedback) 27.13 KB (0%)
@sentry/browser (incl. FeedbackAsync) 31.79 KB (0%)
@sentry/react 25.26 KB (0%)
@sentry/react (incl. Tracing) 37.29 KB (0%)
@sentry/vue 26.65 KB (0%)
@sentry/vue (incl. Tracing) 36.14 KB (0%)
@sentry/svelte 22.64 KB (0%)
CDN Bundle 23.73 KB (0%)
CDN Bundle (incl. Tracing) 35.97 KB (0%)
CDN Bundle (incl. Tracing, Replay) 70.36 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) 75.6 KB (0%)
CDN Bundle - uncompressed 69.61 KB (0%)
CDN Bundle (incl. Tracing) - uncompressed 106.54 KB (0%)
CDN Bundle (incl. Tracing, Replay) - uncompressed 218.05 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 230.94 KB (0%)
@sentry/nextjs (client) 37.16 KB (+0.04% 🔺)
@sentry/sveltekit (client) 34.9 KB (+0.14% 🔺)
@sentry/node 115.61 KB (0%)
@sentry/node - without tracing 90 KB (0%)
@sentry/aws-serverless 99.42 KB (0%)

});

it('does not add `browserTracingIntegration()` integration if tracing not enabled in SDK', () => {
it('also adds `browserTracingIntegration()` integration if tracing not enabled in SDK (only build time)', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m: Instead of modifying this test I would simplify this one and the one above to simply assert that the integration was added. No point to test an invariant imo.

@s1gr1d s1gr1d merged commit 70e1815 into develop Aug 13, 2024
@s1gr1d s1gr1d deleted the sig/browsertracing-nextjs branch August 13, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Always add browserTracingIntegration in NextJS SDK

2 participants