Skip to content

test: ensure assertions are reached on all tests - #64716

Merged
aduh95 merged 1 commit into
nodejs:mainfrom
aduh95:enforce-assert-fixtures
Jul 27, 2026
Merged

test: ensure assertions are reached on all tests#64716
aduh95 merged 1 commit into
nodejs:mainfrom
aduh95:enforce-assert-fixtures

Conversation

@aduh95

@aduh95 aduh95 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

A number of tests are escaping the linter rules added in 0457bfe and 634dc26 by destructuring assert and/or fixtures.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/quic

@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 Jul 24, 2026

@Ethan-Arrowood Ethan-Arrowood left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving but I think you have to fix on test that has a CI failure.

Comment thread test/parallel/test-quic-zero-rtt.mjs Outdated
@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.16%. Comparing base (58795e9) to head (6a3d80f).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #64716   +/-   ##
=======================================
  Coverage   90.16%   90.16%           
=======================================
  Files         744      744           
  Lines      242518   242518           
  Branches    45692    45705   +13     
=======================================
+ Hits       218663   218670    +7     
- Misses      15349    15357    +8     
+ Partials     8506     8491   -15     

see 23 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.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@aduh95 aduh95 added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 26, 2026
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: nodejs#64716
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: Aviv Keller <me@aviv.sh>
@aduh95
aduh95 force-pushed the enforce-assert-fixtures branch from 9ab72df to 6a3d80f Compare July 27, 2026 17:04
@aduh95

aduh95 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Landed in 6a3d80f

@aduh95
aduh95 merged commit 6a3d80f into nodejs:main Jul 27, 2026
31 checks passed
@aduh95
aduh95 deleted the enforce-assert-fixtures branch July 27, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. 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.

5 participants