Skip to content

fix(tests): Fix Express scope separation tests. #3942

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

Merged
merged 3 commits into from
Aug 31, 2021

Conversation

onurtemizkan
Copy link
Collaborator

Fixes: #3919

@github-actions
Copy link
Contributor

github-actions bot commented Aug 31, 2021

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 21.57 KB (+0.01% 🔺)
@sentry/browser - Webpack 22.57 KB (0%)
@sentry/react - Webpack 22.6 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 29.01 KB (0%)

baz: 'wat',
});
}
const errorValue = event.exception?.values?.[0].value;
Copy link
Member

Choose a reason for hiding this comment

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

We can't use optional chaining here as we have to support old node versions in tests.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes 🤦 updated the PR to use transactions for simplicity.

@AbhiPrasad AbhiPrasad enabled auto-merge (squash) August 31, 2021 13:02
@AbhiPrasad AbhiPrasad merged commit 156f4b5 into master Aug 31, 2021
@AbhiPrasad AbhiPrasad deleted the onur/fix-express-scope-separation-tests branch August 31, 2021 14:14
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.

Broken Express Request Separation Test Broken
2 participants