Skip to content
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

fix(compat): declare RouterLinkStub as compatibility mode 3 #1549

Merged
merged 2 commits into from
Jun 2, 2022

Conversation

snoozbuster
Copy link
Contributor

When running tests in Vue 2 mode under @vue/compat, RouterLinkStub's render function dies because of the change to the $slots API. Declaring it as mode 3 helps it "just work" for users regardless of Vue compatibility mode.

@netlify
Copy link

netlify bot commented May 28, 2022

Deploy Preview for vue-test-utils-docs ready!

Name Link
🔨 Latest commit 47f92eb
🔍 Latest deploy log https://app.netlify.com/sites/vue-test-utils-docs/deploys/6297d1d8f68ec600087a48ca
😎 Deploy Preview https://deploy-preview-1549--vue-test-utils-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@lmiller1990 lmiller1990 merged commit 464eb94 into vuejs:main Jun 2, 2022
@snoozbuster snoozbuster deleted the routerlink-compat branch June 2, 2022 02:02
This was referenced Jun 15, 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