remove vendored library tests

This commit is contained in:
Basil Hosmer 2025-05-09 17:48:33 -04:00
commit 4a295a4043
No known key found for this signature in database
3 changed files with 1 additions and 16 deletions

View file

@ -1,5 +0,0 @@
import * as _zod from 'zod';
// This makes the vendored zod use the same types as the actual zod package
export declare const z: typeof _zod.z;
export default _zod.default;

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,7 @@
import { McpServer } from "./mcp.js";
import { Client } from "../client/index.js";
import { InMemoryTransport } from "../inMemory.js";
import { z } from "zod";
import {
ListToolsResultSchema,
CallToolResultSchema,
@ -16,9 +17,6 @@ import {
import { ResourceTemplate } from "./mcp.js";
import { completable } from "./completable.js";
import { UriTemplate } from "../shared/uriTemplate.js";
// Note: deliberately using a different Zod version to the one bundled
// with the SDK as that's what our users are likely to be doing
import { z } from "./__tests__/vendor/zod@3.24.4.umd.js";
describe("McpServer", () => {
test("should expose underlying Server instance", () => {