import childProcess from 'child_process';
import test from 'ava';

test(t => {
	t.plan(2);

	childProcess.execFile('./cli.js', (err, stdout) => {
		t.ifError(err);
		t.true(stdout.trim().length === 0);
		console.log(stdout.trim());
	});
});

import childProcess from 'child_process';
import test from 'ava';

test(t => {
	t.plan(2);

	childProcess.execFile('./cli.js', (err, stdout) => {
		t.ifError(err);
		t.true(stdout.trim().length === 0);
	});
});

Remove console.log in tests