-
Notifications
You must be signed in to change notification settings - Fork 668
(docs): Add guide for some useful libraries for testing #1372
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
Conversation
@@ -0,0 +1,16 @@ | |||
## Useful Libraries for Testing | |||
|
|||
`vue-test-utils` provides useful methods for testing Vue components. Community members have also written some additional libraries which either extend `vue-test-utils` with extra useful methods, or provide tools for testing other things found in Vue applications. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can tell VTU is usually refered as Vue Test Utils
instead of vue-test-utils
`vue-test-utils` provides useful methods for testing Vue components. Community members have also written some additional libraries which either extend `vue-test-utils` with extra useful methods, or provide tools for testing other things found in Vue applications. | |
Vue Test Utils provides useful methods for testing Vue components. Community members have also written some additional libraries which either extend Vue Test Utils with extra useful methods, or provide tools for testing other things found in Vue applications. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was not sure how to revert to VTU - thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Build is failing as "Code style issues found in the above file(s). Forgot to run Prettier?" |
Passes locally...hmm... |
Oh I see - found the problem, fixing! |
Hey @lmiller1990, thank you for your time and effort spent on this PR, contributions like yours help make Vue better for everyone. Cheers! 💚 |
Add a guide with some links to useful libraries for testing, such as vuex-mock-store.
resolves #1060