Skip to main content
Glama

AutoDev Codebase MCP Server

by anrgct
inspectRuby.test.ts763 B
import { describe, it } from "@jest/globals" import { inspectTreeStructure, testParseSourceCodeDefinitions } from "./helpers" import { rubyQuery } from "../queries" import sampleRubyContent from "./fixtures/sample-ruby" describe("inspectRuby", () => { const testOptions = { language: "ruby", wasmFile: "tree-sitter-ruby.wasm", queryString: rubyQuery, extKey: "rb", } it("should inspect Ruby tree structure and parse definitions", async () => { // First inspect the tree structure await inspectTreeStructure(sampleRubyContent, "ruby") // Then validate definition parsing const result = await testParseSourceCodeDefinitions("test.rb", sampleRubyContent, testOptions) expect(result).toMatch(/\d+--\d+ \|/) // Verify line number format }) })

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