| 1 | import * as McpProtocol from "effect/ai/McpProtocol" |
| 2 | import * as BaseProtocolTest from "./McpConformance/BaseProtocolTest.ts" |
| 3 | import * as CompletionTest from "./McpConformance/CompletionTest.ts" |
| 4 | import * as ElicitationTest from "./McpConformance/ElicitationTest.ts" |
| 5 | import * as LifecycleTest from "./McpConformance/LifecycleTest.ts" |
| 6 | import * as LoggingTest from "./McpConformance/LoggingTest.ts" |
| 7 | import { layer as makeMcpConformanceLayer } from "./McpConformance/McpConformance.ts" |
| 8 | import * as PromptsTest from "./McpConformance/PromptsTest.ts" |
| 9 | import * as ResourcesTest from "./McpConformance/ResourcesTest.ts" |
| 10 | import * as RootsTest from "./McpConformance/RootsTest.ts" |
| 11 | import * as SamplingTest from "./McpConformance/SamplingTest.ts" |
| 12 | import * as ToolsTest from "./McpConformance/ToolsTest.ts" |
| 13 | import * as TransportsTest from "./McpConformance/TransportsTest.ts" |
| 14 | import * as UtilitiesTest from "./McpConformance/UtilitiesTest.ts" |
| 15 | |
| 16 | const protocol = McpProtocol.v2025_06_18 |
| 17 | const testLayer = makeMcpConformanceLayer(protocol) |
| 18 | |
| 19 | LifecycleTest.suite(protocol, testLayer) |
| 20 | BaseProtocolTest.suite(protocol, testLayer) |
| 21 | BaseProtocolTest.statefulLegacySuite(protocol, testLayer) |
| 22 | TransportsTest.suite(protocol, testLayer) |
| 23 | UtilitiesTest.suite(protocol, testLayer) |
| 24 | UtilitiesTest.statefulLegacySuite(protocol, testLayer) |
| 25 | ToolsTest.suite(protocol, testLayer) |
| 26 | ToolsTest.statefulLegacySuite(protocol, testLayer) |
| 27 | ResourcesTest.suite(protocol, testLayer) |
| 28 | ResourcesTest.statefulLegacySuite(protocol, testLayer) |
| 29 | PromptsTest.suite(protocol, testLayer) |
| 30 | PromptsTest.statefulLegacySuite(protocol, testLayer) |
| 31 | CompletionTest.suite(protocol, testLayer) |
| 32 | LoggingTest.suite(protocol, testLayer) |
| 33 | RootsTest.suite(protocol, testLayer) |
| 34 | SamplingTest.suite(protocol, testLayer) |
| 35 | ElicitationTest.suite(protocol, testLayer) |