Skip to content

Commit

Permalink
chore(cli): add missing search test
Browse files Browse the repository at this point in the history
  • Loading branch information
mateonunez committed Mar 1, 2023
1 parent c1ff8e7 commit a59b9b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/cli/test/index.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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]'))
})

0 comments on commit a59b9b8

Please sign in to comment.