test: cover TableOfContentMarkdown component - #2516
garv-sanveria wants to merge 2 commits into
Conversation
|
Hi @garv-sanveria! Thanks a lot for your contribution! I noticed that the following required information is missing or incomplete: issue reference Please update the PR description to include this information. You can find placeholders in the PR template for these items. Thanks a lot! |
|
Hi @garv-sanveria! Thanks a lot for your contribution! I noticed that the following required information is missing or incomplete: issue reference Please update the PR description to include this information. You can find placeholders in the PR template for these items. Thanks a lot! |
|
Hi @garv-sanveria! Thanks a lot for your contribution! I noticed that the following required information is missing or incomplete: issue reference Please update the PR description to include this information. You can find placeholders in the PR template for these items. Thanks a lot! |
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2516 +/- ##
===========================================
- Coverage 100.00% 98.35% -1.65%
===========================================
Files 31 32 +1
Lines 695 731 +36
Branches 215 228 +13
===========================================
+ Hits 695 719 +24
- Misses 0 12 +12 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
What kind of change does this PR introduce?
Test coverage addition.
Issue Number:- Related to #2496
Others: No related issue, just adding missing component test coverage.
Screenshots/videos:
N/A (Just tests)
If relevant, did you update the documentation?
N/A
Summary
The
TableOfContentMarkdowncomponent currently had no test coverage. This PR adds a standard Cypress component test to verify that the markdown headings (h1, h2, h3) render correctly based on thedepthprop.