Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Vue: Add example using props #791

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

Open
travis5491811 wants to merge 2 commits into testing-library:main
base: main
Choose a base branch
Loading
from travis5491811:patch-1

Conversation

Copy link

@travis5491811 travis5491811 commented Apr 2, 2021
edited
Loading

Add example using props in reference to .1 in testing-library/vue-testing-library#216 (comment)

Copy link
Member

@afontcu Can you please have a look at this one? :)

Copy link
Member

afontcu commented Apr 5, 2021
edited
Loading

Hi! Thank you for taking the time 🙌

Given the fact that the guiding principle of Testing Lib is to test components in a real environement, I'm not entirely sure we should showcase a test using stubs as a "first" example. I would keep the test simpler, and focus only on props (which was the missing bit we identified on testing-library/vue-testing-library#216 :)

We could either simplify the example, or maybe add some props to the Button example.

Again, thanks for this!

Simplify example to focus on props
Copy link
Author

Welcome @afontcu, I've reduced the example down to only focus on props. I also didn't realize my editor didn't pick up my spelling mistakes on the last commit. They showed immediately when I opened the patch. It's resolved now. Is this change okay?

Copy link
Member

@afontcu is this ready to be merged or can we close it? :)

@eps1lon eps1lon changed the title (削除) Add example using props (削除ここまで) (追記) Vue: Add example using props (追記ここまで) Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /