Skip to content

test(nextjs): Fix integration tests for Next.js 13.0.7 #6556

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
Dec 15, 2022

Conversation

lforst
Copy link
Contributor

@lforst lforst commented Dec 15, 2022

In Next.js v13.0.7 anchor tags inside Link elements started throwing hydration errors in the browser. This flagged our session integration tests.

We fix this by abiding by the rules Next.js gives us: https://nextjs.org/docs/api-reference/next/link#if-the-child-is-a-custom-component-that-wraps-an-a-tag

I opened an issue to let Vercel folks know that this suddenly started happening: vercel/next.js#44050

@lforst lforst marked this pull request as ready for review December 15, 2022 14:40
@lforst lforst enabled auto-merge (squash) December 15, 2022 15:02
@lforst lforst merged commit d972ded into master Dec 15, 2022
@lforst lforst deleted the lforst-try-fix-integration-tests-for-next-13.0.7 branch December 15, 2022 15:04
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