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
import { Effect } from 'effect';
import { describe, expect, layer } from '@effect/vitest';
import { cli, MockConsole, TestLive } from 'test/__utils__';
describe('CLI: composio dev projects switch', () => {
layer(TestLive({ cliUserConfig: { developerDangerousCommandsEnabled: true } }))(it => {
it.scoped('[Then] it reports global developer project switching is deprecated', () =>
Effect.gen(function* () {
yield* cli(['dev', 'projects', 'switch', '--dangerously-allow']).pipe(
Effect.catchAll(() => Effect.void)
);
const output = (yield* MockConsole.getLines({ stripAnsi: true })).join('\n');
expect(output).toMatch(/composio dev init/);
})
);
});
});