-
-
Notifications
You must be signed in to change notification settings - Fork 73
feat(sveltekit): Set sendDefaultPii: true by default #1055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1055 +/- ##
==========================================
+ Coverage 32.12% 32.39% +0.26%
==========================================
Files 133 133
Lines 15696 15698 +2
Branches 1100 1107 +7
==========================================
+ Hits 5042 5085 +43
+ Misses 10637 10596 -41
Partials 17 17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
9005656
to
7c78ed8
Compare
test/sveltekit/templates.test.ts
Outdated
expect(result).toContain('import * as Sentry from "@sentry/sveltekit";'); | ||
expect(result).toContain('dsn: "https://sentry.io/123"'); | ||
expect(result).toContain('tracesSampleRate: 1'); | ||
expect(result).toContain('replaysSessionSampleRate: 0.1'); | ||
expect(result).toContain('replaysOnErrorSampleRate: 1'); | ||
expect(result).toContain('enableLogs: true'); | ||
expect(result).toContain('sendDefaultPii: true'); | ||
expect(result).toContain('integrations: [Sentry.replayIntegration()]'); | ||
expect(result).toContain('Sentry.init({'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the tests, much appreciated! Can we use toMatchInlineSnapshot
instead of the infividual contain assertions?
happy to stay with this if there's a good reason for it otherwise
(same q for the other tests below)
Please also rebase the PR, thanks! |
@Lms24 - Updated 👍 |
7c78ed8
to
46d4b0f
Compare
Resolves: #959