Skip to main content
Glama

AutoDev Codebase MCP Server

by anrgct
inspectElisp.test.ts1.02 kB
import { describe, it } from "@jest/globals" import { inspectTreeStructure, testParseSourceCodeDefinitions } from "./helpers" import { elispQuery } from "../queries/elisp" import sampleElispContent from "./fixtures/sample-elisp" describe("inspectElisp", () => { const testOptions = { language: "elisp", wasmFile: "tree-sitter-elisp.wasm", queryString: elispQuery, extKey: "el", } it("should validate Elisp tree structure inspection", async () => { const result = await inspectTreeStructure(sampleElispContent, "elisp") expect(result).toBeDefined() expect(result.length).toBeGreaterThan(0) }) it("should validate Elisp definitions parsing", async () => { const result = await testParseSourceCodeDefinitions("test.el", sampleElispContent, testOptions) expect(result).toBeDefined() expect(result).toMatch(/\d+--\d+ \|/) // Verify line number format // Verify some sample content is parsed expect(result).toMatch(/defun test-function/) expect(result).toMatch(/defmacro test-macro/) }) })

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