import {runCommand} from '@oclif/test'
import {expect} from 'chai'

describe('<%- name %>', () => {
  it('runs <%- name %> cmd', async () => {
    const {stdout} = await runCommand('<%- name %>')
    expect(stdout).to.contain('hello world')
  })

  it('runs <%- name %> --name oclif', async () => {
    const {stdout} = await runCommand('<%- name %> --name oclif')
    expect(stdout).to.contain('hello oclif')
  })
})
