We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b417aa5 commit f29eecaCopy full SHA for f29eeca
packages/tiny-agents/test/ServerConfigSchema.spec.ts
@@ -0,0 +1,16 @@
1
+import { describe, expect, it } from "vitest";
2
+import { ServerConfigSchema } from "../src/lib/types";
3
+
4
+describe("ServerConfigSchema", () => {
5
+ it("You can parse a server config", async () => {
6
+ const config = ServerConfigSchema.parse({
7
+ type: "stdio",
8
+ config: {
9
+ command: "npx",
10
+ args: ["@playwright/mcp@latest"],
11
+ },
12
+ });
13
+ expect(config).toBeDefined();
14
+ expect(config.type).toBe("stdio");
15
16
+});
0 commit comments