UNPKG

@poai/mcpm-aider

Version:

Your MCP CLI Manager for aider(forked from @mcpm/cli). Helps you install/remove/search your MCP projects. You can also manage your MCP in Claude App with natural language.

12 lines (11 loc) 386 B
import { execa } from 'execa'; import { resolve } from 'path'; const bin = resolve(__dirname, './bin.js'); describe('my-command', () => { it('should display the help contents', async () => { const { stdout } = await execa(bin, ['--help'], { env: { TS_NODE_FILES: 'true' }, }); expect(stdout).toContain('Usage: my-command [options]'); }); });