Skip to content

Conversation

iker-barriocanal
Copy link
Contributor

The metadata builder has no tests atm; this PR adds them.

@iker-barriocanal iker-barriocanal requested a review from a team May 28, 2021 14:19
@iker-barriocanal iker-barriocanal self-assigned this May 28, 2021
@iker-barriocanal iker-barriocanal requested review from ahmedetefy and kamilogorek and removed request for a team May 28, 2021 14:19
@github-actions
Copy link
Contributor

github-actions bot commented May 28, 2021

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 20.77 KB (-0.01% 🔽)
@sentry/browser - Webpack 22 KB (0%)
@sentry/react - Webpack 22.03 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 28.17 KB (-0.01% 🔽)

Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

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

Hmm tbh I'm not the biggest fan of having indirection with test helpers that do assertions as it makes it harder to reason about what assertions are being called for a single test, but I'm fine with doing this for now as the test scope is relatively small.

Just left a few review comments for small fixes.

@iker-barriocanal iker-barriocanal enabled auto-merge (squash) May 31, 2021 12:10
@iker-barriocanal iker-barriocanal merged commit ef508e6 into master May 31, 2021
@iker-barriocanal iker-barriocanal deleted the iker/test/nextjs-metadata-builder branch May 31, 2021 12:20
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