Skip to content

test: reduce the use of private symbols in test-events-once.js #58685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

kt3k
Copy link
Contributor

@kt3k kt3k commented Jun 12, 2025

This PR reduces the usage of private symbol kEvents in test/parallel/test-events-once.js.

It'd be good to avoid using private items to make future refactoring easier

@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 Jun 12, 2025
@kt3k kt3k changed the title test: reduce the use of private symbols in test/parallel/test-events-once.js test: reduce the use of private symbols in test-events-once.js Jun 12, 2025
@kt3k kt3k force-pushed the test-reduce-use-of-private-symbol branch from 8286ec8 to 69252ed Compare June 12, 2025 03:10
Copy link

codecov bot commented Jun 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.16%. Comparing base (5e1537c) to head (69252ed).
Report is 18 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #58685   +/-   ##
=======================================
  Coverage   90.16%   90.16%           
=======================================
  Files         637      637           
  Lines      188098   188098           
  Branches    36905    36896    -9     
=======================================
+ Hits       169601   169605    +4     
- Misses      11231    11236    +5     
+ Partials     7266     7257    -9     

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

@Ethan-Arrowood Ethan-Arrowood added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 14, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 14, 2025
@nodejs-github-bot
Copy link
Collaborator

@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Jun 15, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 15, 2025
@nodejs-github-bot nodejs-github-bot merged commit 139c2e1 into nodejs:main Jun 15, 2025
64 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 139c2e1

@kt3k kt3k deleted the test-reduce-use-of-private-symbol branch June 16, 2025 00:57
targos pushed a commit that referenced this pull request Jun 16, 2025
PR-URL: #58685
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
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.

4 participants