Skip to content

some review changes

1cf5261
Select commit
Loading
Failed to load commit list.
Open

feat: json, json-all generators #287

some review changes
1cf5261
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Dec 1, 2025 in 0s

82.42% (target 70.00%)

View this Pull Request on Codecov

82.42% (target 70.00%)

Details

Codecov Report

❌ Patch coverage is 93.86531% with 266 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.42%. Comparing base (9285e74) to head (1cf5261).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/generators/json/utils/sections/method.mjs 80.96% 67 Missing ⚠️
src/generators/json/utils/sections/event.mjs 76.11% 42 Missing and 1 partial ⚠️
src/utils/generator-error.mjs 21.05% 30 Missing ⚠️
src/generators/json/utils/sections/property.mjs 81.16% 29 Missing ⚠️
src/generators/json/utils/sections/index.mjs 78.94% 23 Missing and 1 partial ⚠️
src/generators/json/index.mjs 80.20% 19 Missing ⚠️
src/utils/assertAstType.mjs 80.00% 11 Missing ⚠️
...generators/json/utils/createParameterGroupings.mjs 91.17% 9 Missing ⚠️
src/generators/json-all/index.mjs 89.74% 8 Missing ⚠️
src/generators/json/utils/sections/base.mjs 95.07% 7 Missing ⚠️
... and 7 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #287      +/-   ##
==========================================
+ Coverage   74.60%   82.42%   +7.81%     
==========================================
  Files         112      140      +28     
  Lines       10700    15034    +4334     
  Branches      722     1027     +305     
==========================================
+ Hits         7983    12392    +4409     
+ Misses       2714     2637      -77     
- Partials        3        5       +2     

☔ View full report in Codecov by Sentry.
📢 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.