-
Notifications
You must be signed in to change notification settings - Fork 668
Docs to explain using custom matchers with test utils #634
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
Comments
Took a stab at this. If it's useful I will PR it. |
IMHO, |
Nice write-up, although I agree with @38elements that this isn't specific to Vue Test Utils. We could add a section on custom matchers to the testing-SFCs-with-jest guide, but rather than including an example we should include a few sentences and link to the Jest docs. We don't currently have a section on using with Jasmine. |
Maybe it's worth creating a library, |
Since it is the business of the document of test runner, |
Good point, I think I can turn this into a blog post instead. I like the idea of adding a sentence on custom matchers and linking to the jest docs |
If you'd like someone to proof your blog post before you post it, feel free to email me and I'd be happy to help :) |
@shortdiv @eddyerburgh |
What problem does this feature solve?
Currently there is no documentation around using custom matchers with test utils. While custom matchers are specific to test libraries like Jasmine and Jest, adding documentation to clarify using custom matchers with vue-test-utils could be helpful.
What does the proposed API look like?
This is a proposed documentation update.
The text was updated successfully, but these errors were encountered: