Skip to content

Commit 80185a8

Browse files
committed
Use node --test with no args for cross-platform compatibility
Node's built-in test runner auto-discovers **/*.test.{js,mjs,cjs} files without relying on shell glob expansion. This works on macOS, Linux, and Windows (cmd.exe and PowerShell don't expand globs).
1 parent f91eb26 commit 80185a8

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
@@ -8,7 +8,7 @@
88
"mcp-selenium": "./src/lib/server.js"
99
},
1010
"scripts": {
11-
"test": "node --test test/*.test.mjs"
11+
"test": "node --test"
1212
},
1313
"keywords": [],
1414
"author": "",

0 commit comments

Comments
 (0)