Skip to content

Commit 3d64c06

Browse files
committed
fix(package.json): explicit test file path for Node v25 compatibility
node --test <dir>/ broke in Node v25 (tries to load as CJS module). Explicit filename works on v18..v25. https://claude.ai/code/session_01AQeaZPrDneQqFYxwxVTJqm
1 parent 61f4ff7 commit 3d64c06

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@
5050
},
5151
"scripts": {
5252
"start": "node mcp-bridge/main.js",
53-
"test": "node --test mcp-bridge/tests/",
54-
"inspect": "node --test mcp-bridge/tests/dispatch_test.js",
55-
"prepublishOnly": "node --test mcp-bridge/tests/"
53+
"test": "node --test mcp-bridge/tests/dispatch_test.js",
54+
"prepublishOnly": "node --test mcp-bridge/tests/dispatch_test.js"
5655
},
5756
"engines": {
5857
"node": ">=18.0.0"

0 commit comments

Comments
 (0)