Skip to main content
Glama

AutoDev Codebase MCP Server

by anrgct
inspectSolidity.test.ts885 B
import { describe, it } from "@jest/globals" import { debugLog, inspectTreeStructure, testParseSourceCodeDefinitions } from "./helpers" import { solidityQuery } from "../queries" import { sampleSolidity } from "./fixtures/sample-solidity" describe("inspectSolidity", () => { const testOptions = { language: "solidity", wasmFile: "tree-sitter-solidity.wasm", queryString: solidityQuery, extKey: "sol", } it("should inspect Solidity tree structure", async () => { const result = await inspectTreeStructure(sampleSolidity, "solidity") expect(result).toBeDefined() debugLog("Tree Structure:", result) }) it("should parse Solidity definitions", async () => { const result = await testParseSourceCodeDefinitions("test.sol", sampleSolidity, testOptions) expect(result).toBeDefined() expect(result).toMatch(/\d+--\d+ \|/) debugLog("Parse Result:", result) }) })

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