Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #570 +/- ##
==========================================
- Coverage 80.68% 80.66% -0.02%
==========================================
Files 128 128
Lines 12389 12392 +3
Branches 887 887
==========================================
Hits 9996 9996
- Misses 2390 2393 +3
Partials 3 3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
| File | Base | Head | Diff |
|---|---|---|---|
orama-db.json |
8.02 MB | 8.02 MB | -1.86 KB (-0.02%) |
There was a problem hiding this comment.
Pull request overview
This PR attempts to fix test cases run by Node.js's test/doctool/test-doc-api-json.mjs by modifying the legacy JSON generator. The changes aim to adjust the JSON output format to match expected test results.
Changes:
- Removed the
apifield from the root module object initialization in buildSection.mjs - Added JSON formatting with 2-space indentation to the JSON.stringify call in index.mjs
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/generators/legacy-json/utils/buildSection.mjs | Removes the api field from rootModule initialization |
| src/generators/legacy-json/index.mjs | Adds formatting parameters to JSON.stringify for 2-space indented output |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Some changes to fix test cases run by https://github.com/nodejs/node/blob/main/test/doctool/test-doc-api-json.mjs