The Wayback Machine - https://web.archive.org/web/20201212162918/https://github.com/vuejs/vue-test-utils/issues/1745
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

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

Open
tim-kilian opened this issue Dec 3, 2020 · 3 comments
Open

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

tim-kilian opened this issue Dec 3, 2020 · 3 comments

Comments

@tim-kilian
Copy link

@tim-kilian tim-kilian commented Dec 3, 2020

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

@tim-kilian
Copy link
Author

@tim-kilian tim-kilian 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.

@afontcu
Copy link
Member

@afontcu 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? 😃

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.