Skip to content

test: use on-disk fixture for test-npm-install#62584

Open
joyeecheung wants to merge 1 commit intonodejs:mainfrom
joyeecheung:npm-install-fixture
Open

test: use on-disk fixture for test-npm-install#62584
joyeecheung wants to merge 1 commit intonodejs:mainfrom
joyeecheung:npm-install-fixture

Conversation

@joyeecheung
Copy link
Copy Markdown
Member

Instead of writing the fixtures on the fly in the test, put them in the fixtures directory that can be copied into a temporary directory to reproduce in a debugger.

Refs: #61898

Instead of writing the fixtures on the fly in the test,
put them in the fixtures directory that can be copied into
a temporary directory to reproduce in a debugger.

Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Apr 4, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.71%. Comparing base (bf1aebc) to head (715306a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #62584      +/-   ##
==========================================
- Coverage   89.72%   89.71%   -0.01%     
==========================================
  Files         695      695              
  Lines      214464   214464              
  Branches    41067    41060       -7     
==========================================
- Hits       192420   192400      -20     
- Misses      14106    14116      +10     
- Partials     7938     7948      +10     

see 32 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants