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