@devries-cameron20 / composio-1 / commits / 5eb172fc0
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(e2e): expect [] from toolkits search on no results

CI builds a fresh Docker image (no layer cache), so the binary includes the ui.output('[]') change. Update the assertion to match.

jkomyno committed Mar 9, 2026 at 17:04 UTC 5eb172fc04256bf2f0d31466d0caa51ee843dd88
1 file changed +2 -2
ts/e2e-tests/cli/toolkits/search/e2e.test.ts
+2 -2
@@ -127,8 +127,8 @@ e2e(import.meta.url, {
127 expect(noResultsResult.stderr).toBe('');
128 });
129
130 - it('stdout is empty (no results)', () => {
131 - expect(sanitizeOutput(noResultsResult.stdout)).toBe('');
130 + it('stdout is an empty JSON array (no results)', () => {
131 + expect(sanitizeOutput(noResultsResult.stdout)).toBe('[]');
132 });
133 });
134 },