-
Notifications
You must be signed in to change notification settings - Fork 669
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
feat(test-utils): add 'overview' function #1491
Conversation
Holy moly what a PR! I like how in depth your tests go. Please give me some time to review this. |
Thank you. No problem, take as much time as you need. |
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.
I left some comments!
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.
looks like a solid PR.
this is the last API we will be adding before v1! This will go out with v1, should be in a week or two.
Hey folks, I'm unsure if this is the right place to ask. I would like such an It's still in the code: There's also nothing about it in the docs: So how can I print the DOM tree of a component with vue test utils like I can do with react testing library using Anyone can help me understand this a bit better? |
You can print the HTML with I am not sure about |
@lmiller1990 oh right! Thanks! I was looking at the v1 of the docs. Didn't notice that Google sent me to v1 instead of v2. And also thanks for pointing me to |
close #1461
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:
dev
branch.fix #xxx[,#xxx]
, where "xxx" is the issue number)If adding a new feature, the PR's description includes:
Other information:
The main objective of this feature is "To give an overview of the state of the wrapper at the time the function is executed"
Example execution:
More info