ini icon indicating copy to clipboard operation
ini copied to clipboard

move to node:test

Open wraithgar opened this issue 2 months ago • 5 comments

This includes a breaking change bumping engines.

wraithgar avatar Oct 21 '25 04:10 wraithgar

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.

cjihrig avatar Oct 21 '25 15:10 cjihrig

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'

wraithgar avatar Oct 21 '25 16:10 wraithgar

Still need to also investigate why the 22.x tests are failing in mac and linux.

wraithgar avatar Oct 21 '25 16:10 wraithgar

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.

cjihrig avatar Oct 21 '25 16:10 cjihrig

For now we're gonna let the shell do the globbing.

wraithgar avatar Oct 21 '25 17:10 wraithgar