Skip to main content
Glama

AutoDev Codebase MCP Server

by anrgct
inspectHtml.test.ts797 B
import { describe, it } from "@jest/globals" import { inspectTreeStructure, testParseSourceCodeDefinitions } from "./helpers" import { htmlQuery } from "../queries" import { sampleHtmlContent } from "./fixtures/sample-html" describe("inspectHtml", () => { const testOptions = { language: "html", wasmFile: "tree-sitter-html.wasm", queryString: htmlQuery, extKey: "html", } it("should inspect HTML tree structure", async () => { // Should execute without error await expect(inspectTreeStructure(sampleHtmlContent, "html")).resolves.not.toThrow() }) it("should parse HTML definitions", async () => { const result = await testParseSourceCodeDefinitions("test.html", sampleHtmlContent, testOptions) expect(result).toBeDefined() expect(result).toMatch(/\d+--\d+ \| </) }) })

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/anrgct/autodev-codebase'

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