Skip to content

Commit e4f74a1

Browse files
committed
fix(test): drop directory argument from node --test script
Node 22+ matches a positional directory as a glob pattern and then tries to run it as a test file, so 'node --test test/' fails with MODULE_NOT_FOUND on the bundled Node 24 runtime (nodejs/node#64555, regression restored upstream by #64637). Use default discovery instead, which works across Node versions and is what README already documents.
1 parent 17d02de commit e4f74a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎todo/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"README.md"
1818
],
1919
"scripts": {
20-
"test": "node --test test/"
20+
"test": "node --test"
2121
},
2222
"license": "MIT",
2323
"peerDependencies": {

0 commit comments

Comments
 (0)