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: Remove methods key from mount #1145

Merged
merged 1 commit into from Dec 13, 2021
Merged

fix: Remove methods key from mount #1145

merged 1 commit into from Dec 13, 2021

Conversation

afontcu
Copy link
Member

@afontcu afontcu commented Dec 13, 2021

Closes #1104

methods is not a valid key in Vue Test Utils v2, but it existed in 0.x versions and some people got used to it. Thus, providing a warning message will help anyone updating their projects (or mental model!).

Any suggestion is more than welcome :)

@afontcu afontcu changed the title Remove methods key from mount fix: Remove methods key from mount Dec 13, 2021
@lmiller1990 lmiller1990 merged commit bfd070d into master Dec 13, 2021
@lmiller1990 lmiller1990 deleted the warn-methods branch December 13, 2021 09:30
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.

Adding methods to mount removes component methods
3 participants