move to node:test
This includes a breaking change bumping engines.
Just as an FYI, there is no glob support in Node v20. It has caused a lot of headaches, but the core team has refused to backport globbing.
Just as an FYI, there is no glob support in Node v20. It has caused a lot of headaches, but the core team has refused to backport globbing.
Do you mean the globbing in node --test foo/**/*.js?
ETA: yep looks like that's what you're referring to
> [email protected] test
> node --test './test/**/*.js'
Could not find '/home/runner/work/ini/ini/test/**/*.js'
Still need to also investigate why the 22.x tests are failing in mac and linux.
Correct, the test runner does not support globbing in v20. I know of at least one project, borp, that was created just to paper over a few differences across versions.
For now we're gonna let the shell do the globbing.