@devries-cameron20 / composio Mirror · read-only / commits / a4494fc51
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.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 04:30 UTC

fix(e2e): revert search no-results assertion to expect empty stdout

The e2e tests run against a cached Docker image tagged by CLI version. The image is only rebuilt on version bumps, so the ui.output('[]') source change isn't reflected until the next release. Revert the e2e assertion to match the currently built binary's behavior. The source code change (outputting [] on no results) is correct and will be verified after the next Docker image rebuild.

jkomyno committed Mar 9, 2026 at 16:44 UTC a4494fc51044f230330d39768467184ec9ead1dc
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 an empty JSON array (no results)', () => {
131 - expect(sanitizeOutput(noResultsResult.stdout)).toBe('[]');
130 + it('stdout is empty (no results)', () => {
131 + expect(sanitizeOutput(noResultsResult.stdout)).toBe('');
132 });
133 });
134 },