yarn add @ianwalter/execa-helper --dev
import test from 'ava'
import execaHelper from '@ianwalter/execa-helper'
const withCli = execaHelper('./cli.js')
test('my cli runs without errors', withCli, async (t, cli) => {
const { stdout } = await cli('run', '--with', 'stuff')
t.snapshot(stdout)
})
Apache 2.0 with Commons Clause - See LICENSE
Created by Ian Walter