Skip to content

Conversation

@lobsterkatie
Copy link
Member

This change made it so we always prefer the parameterized path if it's available. This fixes the tests to match that expectation.

It also renames extractRouteInfo to extractExpressTransactionName, to better reflect its return values and usage, and adds a bunch of typecasts to the tests so TS can stop stressing. (Our mock request is missing many of http.IncomingMessage's less interesting properties. We're not testing them, though, so we don't care.)

@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2020

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 19.73 KB (+0.01% 🔺)
@sentry/browser - Webpack 20.6 KB (0%)
@sentry/react - Webpack 20.6 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 26.88 KB (+0.01% 🔺)

@HazAT HazAT merged commit 322028f into master Dec 7, 2020
@HazAT HazAT deleted the kmclb-fix-parserequest-tests branch December 7, 2020 09:11
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.

3 participants