Closed hyunbinseo closed 3 days ago
Hey @hyunbinseo , I believe this issue is caused by the following regex matching pattern: https://github.com/nodejs/node/blob/main/lib/internal/test_runner/utils.js#L54 -> *[.-_]test
I've created a repro and proposed a possible solution in this pull request: #54728.
Version
v22.7.0
Platform
No response
Subsystem
No response
What steps will reproduce the bug?
latest.js
fileHow often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
https://nodejs.org/api/test.html#running-tests-from-the-command-line
What do you see instead?
latest.js
filename does not match the above patterns, but is included innode --test
Additional information
No response