-
Notifications
You must be signed in to change notification settings - Fork 138
Add and organise tests for code blocks #1143
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
87e2af3
to
6a82dda
Compare
@@ -0,0 +1,15 @@ | |||
**Test: Boxes** |
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.
Definitely see the purpose of the code block tests, what does this cover that componentParserTest
misses though?
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.
Ah, does componentParserTest cover the rendering of markdown inside components?
I'll go check later.
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.
Ah yeah, I found that it covered. My bad 👍
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.
ok, the code blocks tests looks good 👍
What is the purpose of this pull request? (put "X" next to an item, remove the rest)
• [ ] Documentation update
• [ ] Bug fix
• [ ] New feature
• [ ] Enhancement to an existing feature
• [X] Other, please explain: Testing
What is the rationale for this request?
Added more tests than will more comprehensively cover the behaviors of components I've worked on. Particular
Boxes andCode Block, since I've done PRs#1034, #1137, MarkBind/vue-strap#129What changes did you make? (Give an overview)
Added test for Boxes, that are related to MarkBind parsing,The test suite cannot cover VueStrap rendering. VueStrap tests are done via Set up jest snapshot testing for vue-strap vue-strap#146Is there anything you'd like reviewers to focus on?
Not sure other than naming of tests and any coverage I've left out.
Testing instructions:
Check and run tests.
Proposed commit message: (wrap lines at 72 characters)
Add and organise tests for code blocks