Skip to content

Commit

Permalink
test(antfu-collective#111): add a test case
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Apr 16, 2024
1 parent 6a15bcc commit 69ec774
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/cli.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import path from 'node:path'
import { expect, it } from 'vitest'
import { execa } from 'execa'

it('taze cli should just works', async () => {
const binPath = path.resolve(__dirname, '../bin/taze.mjs')

const proc = await execa(process.execPath, [binPath], { stdio: 'pipe' })

expect(proc.stderr).toBe('')
})

0 comments on commit 69ec774

Please sign in to comment.