Skip to content

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(e2e): revert search no-results assertion to expect empty stdout

jkomynoa4494fc51044
diff --git a/ts/e2e-tests/cli/toolkits/search/e2e.test.ts b/ts/e2e-tests/cli/toolkits/search/e2e.test.ts
index ab04d5858..adeb67505 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 an empty JSON array (no results)', () => {
- expect(sanitizeOutput(noResultsResult.stdout)).toBe('[]');
+ it('stdout is empty (no results)', () => {
+ expect(sanitizeOutput(noResultsResult.stdout)).toBe('');
});
});
},