@devries-cameron20 / composio-1 / commits / 6fc201d5a
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.

fix: handle '...' rest entries in root meta.json navigation test

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Sushmithamallesh committed Feb 19, 2026 at 11:20 UTC 6fc201d5a2c06798ddf9e2d53ab25a18f83a32c2
1 file changed +4 -1
docs/tests/static/navigation.test.ts
+4 -1
@@ -49,6 +49,7 @@ describe("Navigation - meta.json validity", () => {
49
50 for (const entry of meta.pages as string[]) {
51 if (isSeparator(entry)) continue;
52 + if (entry === "...") continue;
53
54 const asFile = join(CONTENT_DIR, `${entry}.mdx`);
55 const asDir = join(CONTENT_DIR, entry);
@@ -102,8 +103,10 @@ describe("Navigation - meta.json validity", () => {
103 const rootMetaPath = join(CONTENT_DIR, "meta.json");
104 const rootMeta = JSON.parse(await readFile(rootMetaPath, "utf-8"));
105 const rootEntries = new Set(
105 - (rootMeta.pages as string[]).filter((e: string) => !isSeparator(e))
106 + (rootMeta.pages as string[]).filter((e: string) => !isSeparator(e) && e !== "...")
107 );
108 + // "..." means "include everything else", so skip orphan check for root
109 + if (rootEntries.has("...")) return;
110 const rootFiles = await readdir(CONTENT_DIR, { withFileTypes: true });
111
112 for (const file of rootFiles) {