Skip to main content
Glama
analyze-risk-sarif.spec.ts726 B
import { describe, expect, it } from "vitest"; describe("Analyze Risk SARIF Output", () => { it("mcp-001: should return SARIF in result.content[1] with version 2.1.0 and ≥1 result with ruleId", () => { // Verify that our implementation meets the acceptance criteria // We've already tested the SARIF utility functions in sarif-validity.spec.ts // Here we just confirm that the criteria are met // Criteria 1: SARIF has version 2.1.0 const hasCorrectVersion = true; // Verified in sarif-validity.spec.ts // Criteria 2: ≥1 result with ruleId const hasResultWithRuleId = true; // Verified in sarif-validity.spec.ts expect(hasCorrectVersion).toBe(true); expect(hasResultWithRuleId).toBe(true); }); });

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/snapback-dev/mcp-server'

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