Skip to content

Commit ef62758

Browse files
claudejmmoser
authored andcommitted
Unquote test glob so the shell expands it on Node 20
Node 22 added native glob expansion for `--test`, but Node 20 (the CI target) does not — quoted globs reach node verbatim and fail with "Could not find". Drop the quotes so sh expands the glob before invoking node.
1 parent 99086b8 commit ef62758

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"udp"
1818
],
1919
"scripts": {
20-
"test": "node --test --experimental-test-coverage 'test/unit/*.test.js'",
21-
"test-watch": "node --test --watch 'test/unit/*.test.js'"
20+
"test": "node --test --experimental-test-coverage test/unit/*.test.js",
21+
"test-watch": "node --test --watch test/unit/*.test.js"
2222
},
2323
"repository": {
2424
"type": "git",

0 commit comments

Comments
 (0)