Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
fix(cli): update toolkits list e2e test for Tool Router response shape
jkomyno4e0638ecfe7f
diff --git a/ts/e2e-tests/cli/toolkits/list/e2e.test.ts b/ts/e2e-tests/cli/toolkits/list/e2e.test.tsindex 8d31a6c63..9d49ae31a 100644--- a/ts/e2e-tests/cli/toolkits/list/e2e.test.ts+++ b/ts/e2e-tests/cli/toolkits/list/e2e.test.ts@@ -57,9 +57,10 @@ e2e(import.meta.url, {const item = JSON.parse(sanitizeOutput(exactResult.stdout))[0];expect(item).toHaveProperty('name');expect(item).toHaveProperty('slug');- expect(item).toHaveProperty('tools_count');- expect(item).toHaveProperty('triggers_count');expect(item).toHaveProperty('description');+ expect(item).toHaveProperty('is_no_auth');+ expect(item).toHaveProperty('enabled');+ expect(item).toHaveProperty('composio_managed_auth_schemes');});});@@ -93,8 +94,8 @@ e2e(import.meta.url, {expect(noFuzzyResult.stderr).toBe('');});- it('stdout is empty (no results)', () => {- expect(sanitizeOutput(noFuzzyResult.stdout)).toBe('');+ it('stdout is an empty JSON array (no results)', () => {+ expect(sanitizeOutput(noFuzzyResult.stdout)).toBe('[]');});});},