1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-03-04 13:35:21 +00:00
_/oclif/test/commands/hello/index.test.ts

11 lines
238 B
TypeScript
Raw Normal View History

2022-04-15 10:46:49 +09:00
import {expect, test} from '@oclif/test'
describe('hello', () => {
test
.stdout()
.command(['hello', 'friend', '--from=oclif'])
.it('runs hello cmd', ctx => {
expect(ctx.stdout).to.contain('hello friend from oclif!')
})
})