Skip to content

Commit 9307b09

Browse files
committed
fix: lint
1 parent 3f533f9 commit 9307b09

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

test/server/mcp.test.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2076,13 +2076,9 @@ describe.each(zodTestMatrix)('$zodVersionLabel', (entry: ZodMatrixEntry) => {
20762076
expect(() => {
20772077
mcpServer.tool('test', 'A tool', jsonSchema, cb);
20782078
}).toThrow(/unrecognized object/);
2079-
2079+
20802080
expect(() => {
2081-
mcpServer.registerTool(
2082-
'test',
2083-
{ description: 'A tool', inputSchema: jsonSchema },
2084-
cb
2085-
);
2081+
mcpServer.registerTool('test', { description: 'A tool', inputSchema: jsonSchema }, cb);
20862082
}).toThrow(/unrecognized object/);
20872083
});
20882084
});

0 commit comments

Comments
 (0)