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

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

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

test.cb(t => {
	childProcess.execFile('./cli.js', {cwd: __dirname}, (err, stdout) => {
		t.ifError(err);
		t.true(stdout.trim().length > 0);
		t.end();
	});
});

update tests for latest AVA version