Skip to content

fix: do not render headings with no content - #944

Merged
bjohansebas merged 2 commits into
nodejs:mainfrom
moshams272:feat/optional-heading-render
Aug 22, 2026
Merged

fix: do not render headings with no content#944
bjohansebas merged 2 commits into
nodejs:mainfrom
moshams272:feat/optional-heading-render

fixup!

114b02d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 22, 2026 in 1s

89.56% (target 80.00%)

View this Pull Request on Codecov

89.56% (target 80.00%)

Details

Codecov Report

❌ Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.56%. Comparing base (81b6224) to head (114b02d).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
packages/react/src/jsx-ast/utils/buildContent.mjs 40.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #944      +/-   ##
==========================================
- Coverage   89.57%   89.56%   -0.02%     
==========================================
  Files         203      202       -1     
  Lines       19126    18997     -129     
  Branches     1791     1773      -18     
==========================================
- Hits        17132    17014     -118     
+ Misses       1986     1975      -11     
  Partials        8        8              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.