diff --git a/packages/cli/test/index.test.mjs b/packages/cli/test/index.test.mjs index 020250ee..9f6c153c 100644 --- a/packages/cli/test/index.test.mjs +++ b/packages/cli/test/index.test.mjs @@ -19,3 +19,9 @@ test('migrate', async ({ ok }) => { ok(stdout.includes('Usage: asterism migrate [options] [database]')) }) + +test('search', async ({ ok }) => { + const { stdout } = await execa('node', [cliPath, 'search', '--help']) + + ok(stdout.includes('Usage: asterism search [options] [term]')) +})