1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-03-04 05:25:22 +00:00
_/oclif/test/commands/hello/index.test.ts
2022-04-15 10:46:49 +09:00

10 lines
238 B
TypeScript

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!')
})
})