Skip to content

Why is name() deprecated and what is the alternative? #1745

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

Closed
tim-kilian opened this issue Dec 3, 2020 · 4 comments · Fixed by #1810
Closed

Why is name() deprecated and what is the alternative? #1745

tim-kilian opened this issue Dec 3, 2020 · 4 comments · Fixed by #1810

Comments

@tim-kilian
Copy link

Documentation Feedback

In my test I am using name to ensure it matched the filename, why is this deprecated and what is the alternative for it? I do not see any reason nor alternative description in the docs.

Affected documentation page: https://vue-test-utils.vuejs.org/api/wrapper/name.html

@afontcu
Copy link
Member

afontcu commented Dec 3, 2020

@tim-kilian
Copy link
Author

Can we link this somehow to https://vue-test-utils.vuejs.org/api/wrapper/name.html ? When you google this problem you only get the api reference.

@afontcu
Copy link
Member

afontcu commented Dec 3, 2020

Can we link this somehow to https://vue-test-utils.vuejs.org/api/wrapper/name.html ? When you google this problem you only get the api reference.

Sure, good idea! Fancy to open a PR? 😃

@travis5491811
Copy link
Contributor

@afontcu I opened PR that updates doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants