Files
cli/test/commands/verify.test.ts
2024-06-04 21:47:36 -06:00

15 lines
393 B
TypeScript

import {runCommand} from '@oclif/test'
import {expect} from 'chai'
describe('verify', () => {
it('runs verify cmd', async () => {
const {stdout} = await runCommand('verify')
expect(stdout).to.contain('hello world')
})
it('runs verify --name oclif', async () => {
const {stdout} = await runCommand('verify --name oclif')
expect(stdout).to.contain('hello oclif')
})
})