Skip to content

test: use common.skipIfInspectorDisabled() to skip tests #58675

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

Conversation

dario-piotrowicz
Copy link
Member

@dario-piotrowicz dario-piotrowicz commented Jun 11, 2025

some test files manually check for !process.features.inspector to to see if the tests should be skipped, the changes here update those checks to instead use the more appropriate common.skipIfInspectorDisabled()

@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 11, 2025
@dario-piotrowicz dario-piotrowicz force-pushed the dario/use-skipIfInspectorDisabled-in-tests branch from 71324d3 to da7d9a6 Compare June 11, 2025 12:31
@dario-piotrowicz dario-piotrowicz added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 11, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 11, 2025
@nodejs-github-bot
Copy link
Collaborator

Copy link

codecov bot commented Jun 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.15%. Comparing base (e027da9) to head (f6bb399).
Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #58675      +/-   ##
==========================================
+ Coverage   90.14%   90.15%   +0.01%     
==========================================
  Files         636      636              
  Lines      188057   188061       +4     
  Branches    36897    36903       +6     
==========================================
+ Hits       169525   169555      +30     
+ Misses      11277    11244      -33     
- Partials     7255     7262       +7     

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.

some test files manually check for `!process.features.inspector`
to see if the tests should be skipped, the changes here update
those checks to instead use the more appropriate
`common.skipIfInspectorDisabled()`
@dario-piotrowicz dario-piotrowicz force-pushed the dario/use-skipIfInspectorDisabled-in-tests branch from da7d9a6 to f6bb399 Compare June 11, 2025 13:31
@dario-piotrowicz dario-piotrowicz changed the title test: use common.skipIfInspectorDisable() to skip tests test: use common.skipIfInspectorDisabled() to skip tests Jun 11, 2025
@dario-piotrowicz dario-piotrowicz added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 11, 2025
@richardlau richardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 11, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 11, 2025
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@dario-piotrowicz dario-piotrowicz added the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 11, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 13, 2025
@nodejs-github-bot nodejs-github-bot merged commit 431c04d into nodejs:main Jun 13, 2025
64 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 431c04d

@dario-piotrowicz dario-piotrowicz deleted the dario/use-skipIfInspectorDisabled-in-tests branch June 13, 2025 12:27
targos pushed a commit that referenced this pull request Jun 16, 2025
some test files manually check for `!process.features.inspector`
to see if the tests should be skipped, the changes here update
those checks to instead use the more appropriate
`common.skipIfInspectorDisabled()`

PR-URL: #58675
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
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.

8 participants