Skip to content
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

Native Node test runner can't find tests located in folder containing square braces #612

Open
MrBr opened this issue Oct 23, 2024 · 0 comments

Comments

@MrBr
Copy link

MrBr commented Oct 23, 2024

Running following script will yield empty results (0 tests found) in Node v21 or greater:

node --test src/app/api/[\id\]/route.spec.js

The file exists since it would throw an error otherwise. Also, it works with Node 20.17.0.

I'm not sure if the error is in Glob or in Node but would like to track it down. Any help/hints are appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant