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