redmine-time-manager/test/commands/hello/index.test.ts
Pavel Gnedov 380d4c02a8 init
2022-01-30 00:55:41 +07: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!')
})
})