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(e2e): expect [] from toolkits search on no results
jkomyno5eb172fc0425
diff --git a/ts/e2e-tests/cli/toolkits/search/e2e.test.ts b/ts/e2e-tests/cli/toolkits/search/e2e.test.tsindex adeb67505..ab04d5858 100644--- a/ts/e2e-tests/cli/toolkits/search/e2e.test.ts+++ b/ts/e2e-tests/cli/toolkits/search/e2e.test.ts@@ -127,8 +127,8 @@ e2e(import.meta.url, {expect(noResultsResult.stderr).toBe('');});- it('stdout is empty (no results)', () => {- expect(sanitizeOutput(noResultsResult.stdout)).toBe('');+ it('stdout is an empty JSON array (no results)', () => {+ expect(sanitizeOutput(noResultsResult.stdout)).toBe('[]');});});},