Skip to main content
Glama
dashboard.test.ts613 B
import { describe, it, expect } from "vitest"; import { dashboardGeneratorHandler } from "./dashboard.js"; describe("Dashboard Tools", () => { describe("generate_dashboard", () => { it("should generate dashboard html", async () => { const result = await dashboardGeneratorHandler({ projectPath: "./", outputFile: "test-dashboard.html", }); const file = result.content[0].artifacts[0]; expect(file.content).toContain("<!DOCTYPE html>"); expect(file.content).toContain("Project Dashboard"); expect(file.content).toContain("Complexity"); }); }); });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/millsydotdev/Code-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server