Files
jj-command-line/test/commands/hello/index.test.ts
T
2024-11-09 01:35:02 -05:00

10 lines
260 B
TypeScript

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