Skip to content

test: remove duplicated cases in permission fs-read fixture - #66450

Open
RafaelGSS wants to merge 1 commit into
nodejs:mainfrom
RafaelGSS:remove-duplicated-cases-in-permission-fs-read-fixt
Open

RafaelGSS wants to merge 1 commit into
nodejs:mainfrom
RafaelGSS:remove-duplicated-cases-in-permission-fs-read-fixt

Conversation

@RafaelGSS

@RafaelGSS RafaelGSS commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

We talked about the increase in our test suite from 4k to 7k tests (in the collab summit), so I took a look if some of permission model tests could be duplicated πŸ˜„

The fs.createReadStream(blockedFile) and fs.lstatSync(bufferBlockedFile)
assertions were each present twice in the same block with identical
arguments and expectations, so the second copy added no coverage.

Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. permission Issues and PRs related to the Permission Model. test Issues and PRs related to Node.js core tests and test infrastructure. labels Oct 1, 2026
@RafaelGSS
RafaelGSS marked this pull request as ready for review October 1, 2026 21:05
@codecov

codecov Bot commented Oct 1, 2026

Copy link
Copy Markdown

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 90.37%. Comparing base (cede7e6) to head (1f51686).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #66450      +/-   ##
==========================================
- Coverage   90.39%   90.37%   -0.02%     
==========================================
  Files         792      792              
  Lines      275697   275723      +26     
  Branches    52868    52856      -12     
==========================================
- Hits       249208   249178      -30     
- Misses      16892    16950      +58     
+ Partials     9597     9595       -2     

see 36 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. permission Issues and PRs related to the Permission Model. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants