kingoftime-cli/test/commands/hello/world.test.ts

11 lines
218 B
TypeScript

import {expect, test} from '@oclif/test'
describe('hello world', () => {
test
.stdout()
.command(['hello:world'])
.it('runs hello world cmd', ctx => {
expect(ctx.stdout).to.contain('hello world!')
})
})