Commit 968c077
fix(e2e): add missing .npmrc and fix transport assertion in node-express-mcp-v2
Without .npmrc, pnpm resolves @sentry/* from the public registry instead of
Verdaccio, so the published validateMcpServerInstance (v1-only) rejects the
v2 McpServer and no instrumentation is applied — causing the 30s timeout.
Also fix the mcp.transport assertion: NodeStreamableHTTPServerTransport
proxies onmessage to its inner WebStandardStreamableHTTPServerTransport,
so constructor.name in the wrapper is the inner class. Use the broader
/StreamableHTTPServerTransport/ regex (matching the v1 test pattern).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8b22796 commit 968c077
File tree
2 files changed
+3
-1
lines changed- dev-packages/e2e-tests/test-applications/node-express-mcp-v2
- tests
2 files changed
+3
-1
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments