Skip to content

test(tracing): Add getMultipleSentryTransactionRequests helper #4375

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 1 commit into from
Jan 11, 2022

Conversation

onurtemizkan
Copy link
Collaborator

Added a new helper that waits for multiple transaction requests in integration tests.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2022

size-limit report

Path Base Size (a565aaa) Current Size Change
@sentry/browser - CDN Bundle (gzipped) 19.71 KB 19.72 KB +0.01% 🔺
@sentry/browser - CDN Bundle (minified) 62.76 KB 62.77 KB +0.01% 🔺
@sentry/browser - Webpack 22.25 KB 22.25 KB 0%
@sentry/browser - Webpack - gzip = false 75.92 KB 75.92 KB 0%
@sentry/react - Webpack 22.29 KB 22.29 KB 0%
@sentry/nextjs Client - Webpack 46.41 KB 46.41 KB 0%
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 28.37 KB 28.37 KB +0.01% 🔺

* @param {Page} page
* @param {string} [url]
* @return {*} {Promise<Event>}
*/
async function getSentryTransactionRequest(page: Page, url?: string): Promise<Event> {
Copy link
Member

Choose a reason for hiding this comment

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

Can't this just be getMultipleSentryTransactionRequests with count of 1?

@AbhiPrasad AbhiPrasad merged commit 841c0d3 into master Jan 11, 2022
@AbhiPrasad AbhiPrasad deleted the onur/multiple-transaction-requests branch January 11, 2022 13:26
@AbhiPrasad AbhiPrasad added this to the Release Stability milestone Jan 18, 2022
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.

2 participants