We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c94968 commit 4a295a4Copy full SHA for 4a295a4
3 files changed
src/server/__tests__/vendor/zod@3.24.4.umd.d.ts
src/server/__tests__/vendor/zod@3.24.4.umd.js
src/server/mcp.test.ts
@@ -1,6 +1,7 @@
1
import { McpServer } from "./mcp.js";
2
import { Client } from "../client/index.js";
3
import { InMemoryTransport } from "../inMemory.js";
4
+import { z } from "zod";
5
import {
6
ListToolsResultSchema,
7
CallToolResultSchema,
@@ -16,9 +17,6 @@ import {
16
17
import { ResourceTemplate } from "./mcp.js";
18
import { completable } from "./completable.js";
19
import { UriTemplate } from "../shared/uriTemplate.js";
-// Note: deliberately using a different Zod version to the one bundled
20
-// with the SDK as that's what our users are likely to be doing
21
-import { z } from "./__tests__/vendor/zod@3.24.4.umd.js";
22
23
describe("McpServer", () => {
24
test("should expose underlying Server instance", () => {
0 commit comments