@devries-cameron20 / composio-1 / commits / 52f4db4f5
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

test(docs): restore Markdown body assertions after metadata

Brendan O'Leary committed Oct 16, 2026 at 13:47 UTC 52f4db4f5bb30ae51cd346dd55ffabb06d5e8fe0
1 file changed +7 -1
docs/tests/integration/llm-endpoints.test.ts
+7 -1
@@ -85,8 +85,14 @@ describe("LLM endpoints - .md pages", () => {
85
86 const contentType = res.headers.get("content-type") || "";
87 expect(contentType).toContain("text/markdown");
88 - });
88
89 + // Metadata alone must not satisfy the documentation body checks.
90 + const body = (await res.text())
91 + .replace(/^---\r?\n[\s\S]*?\r?\n---\r?\n/, "")
92 + .trimStart();
93 + expect(body).toMatch(/^#\s+.+/);
94 + expect(body.length).toBeGreaterThan(200);
95 + });
96 }
97 });
98