-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
test: add lint rule to forbid use of assert.ok(/regex/.test(…))
#60832
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
+43
−33
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
|
Review requested:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #60832 +/- ##
=======================================
Coverage 88.55% 88.56%
=======================================
Files 703 703
Lines 208259 208259
Branches 40172 40187 +15
=======================================
+ Hits 184434 184454 +20
+ Misses 15826 15812 -14
+ Partials 7999 7993 -6 🚀 New features to boost your workflow:
|
aduh95
commented
Nov 24, 2025
LiviaMedeiros
approved these changes
Nov 24, 2025
Collaborator
cjihrig
approved these changes
Nov 24, 2025
Collaborator
lpinca
approved these changes
Nov 24, 2025
legendecas
approved these changes
Nov 25, 2025
Collaborator
Commit Queue failed- Loading data for nodejs/node/pull/60832 ✔ Done loading data for nodejs/node/pull/60832 ----------------------------------- PR info ------------------------------------ Title test: add lint rule to forbid use of `assert.ok(/regex/.test(…))` (#60832) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch aduh95:test-assert.match -> nodejs:main Labels test, node-api, author ready, needs-ci, commit-queue-squash Commits 2 - test: add lint rule to forbid use of `assert.ok(/regex/.test(…))` - Apply suggestions from code review Committers 2 - Antoine du Hamel <[email protected]> - GitHub <[email protected]> PR-URL: https://github.com/nodejs/node/pull/60832 Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/60832 Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> -------------------------------------------------------------------------------- ℹ This PR was created on Sun, 23 Nov 2025 20:01:54 GMT ✔ Approvals: 4 ✔ - LiviaMedeiros (@LiviaMedeiros): https://github.com/nodejs/node/pull/60832#pullrequestreview-3500654228 ✔ - Colin Ihrig (@cjihrig): https://github.com/nodejs/node/pull/60832#pullrequestreview-3500730450 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/60832#pullrequestreview-3501581347 ✔ - Chengzhong Wu (@legendecas) (TSC): https://github.com/nodejs/node/pull/60832#pullrequestreview-3504510330 ⚠ This PR has conflicts that must be resolved ✔ Last GitHub CI successful ℹ Last Full PR CI on 2025-11-24T15:39:49Z: https://ci.nodejs.org/job/node-test-pull-request/70297/ - Querying data for job/node-test-pull-request/70297/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/19682733556 |
PR-URL: nodejs#60832 Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
b38d97d to
4451309
Compare
Contributor
Author
|
Landed in 4451309 |
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.
commit-queue-failed
An error occurred while landing this pull request using GitHub Actions.
commit-queue-squash
Add this label to instruct the Commit Queue to squash all the PR commits into the first one.
needs-ci
PRs that need a full CI run.
node-api
Issues and PRs related to the Node-API.
test
Issues and PRs related to the tests.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.