Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 08:30 UTC
test(docs): keep toolkit catalogs real across Markdown suites
Vinayak Agarwal committed
Oct 20, 2026 at 16:19 UTC
0db0933191689b53ffbb07cdaa0c3e8a6acf9e5e
1 file changed
+2
-11
docs/tests/static/llms-openapi.test.ts
+2
-11
@@ -15,17 +15,8 @@ mock.module("next/navigation", () => ({
15
usePathname: () => "/reference/api-reference/tasks",
16
useSearchParams: () => new URLSearchParams(),
17
}));
18
-mock.module("@/lib/toolkit-data", () => ({
19
- getAllToolkits: async () => [],
20
- getAllToolkitsSync: () => [],
21
- getToolkitBySlug: async () => null,
22
-}));
23
-mock.module("@/lib/meta-tools-data", () => ({
24
- getAllMetaTools: async () => [],
25
- getMetaToolBySlug: async () => null,
26
-}));
27
-// Keep toolkit-schema real: module mocks persist across files in Bun and would
28
-// replace the transformations tested by toolkit-schema.test.ts when it runs later.
18
+// Keep toolkit catalogs and toolkit-schema real: module mocks persist across
19
+// files in Bun and would replace data and transformations used by later suites.
20
21
let openapiPageToMarkdown: typeof import("../../app/llms.mdx/[[...slug]]/route").openapiPageToMarkdown;
22
let degradedPageToMarkdown: typeof import("../../app/llms.mdx/[[...slug]]/route").degradedPageToMarkdown;