Skip to content

Commit 2caf0e9

Browse files
committed
fix(test): pass test file explicitly for node 20-24 compat
node 22+ 把 --test 位置参数当 glob,test/ 匹配不到文件;node 20 又 不做 glob 展开。显式列文件在三个大版本行为一致。
1 parent 2c26115 commit 2caf0e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"shadow-dev": "cli.mjs"
1111
},
1212
"scripts": {
13-
"test": "node --test test/"
13+
"test": "node --test test/cli.test.mjs"
1414
}
1515
}

0 commit comments

Comments
 (0)