style: add prettier and format codebase
This commit is contained in:
parent
bf459740fe
commit
2f58ac7bf8
18 changed files with 151 additions and 70 deletions
|
|
@ -2,9 +2,9 @@ import { describe, it, expect, vi } from "vitest";
|
|||
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
||||
import { registerPrompts } from "../src/prompts.js";
|
||||
|
||||
type PromptHandler = (
|
||||
params: Record<string, string>,
|
||||
) => { messages: { role: string; content: { type: string; text: string } }[] };
|
||||
type PromptHandler = (params: Record<string, string>) => {
|
||||
messages: { role: string; content: { type: string; text: string } }[];
|
||||
};
|
||||
|
||||
describe("registerPrompts", () => {
|
||||
function createMockServer() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue