import test from 'ava';
import fn from './';

test('title', t => {
	t.is(fn('unicorns'), 'unicorns & rainbows');
});

@@ -28,87 +28,1104 @@
 ort 
-fn from './';%0A%0Atest('title', t =%3E %7B%0A%09t.is(fn('unicorns'), 'unicorns & rainbows'
+childProcess from 'child_process';%0A%0Atest.cb(t =%3E %7B%0A%09childProcess.execFile('./cli.js', %7B%0A%09%09cwd: __dirname%0A%09%7D, (err, stdout) =%3E %7B%0A%09%09t.ifError(err);%0A%09%09t.is(stdout.trim(), 'I need input. Enter %60blah-code --help%60 if you need assistance%60');%0A%09%09t.end();%0A%09%7D);%0A%7D);%0A%0Atest.cb(t =%3E %7B%0A%09childProcess.execFile('./cli.js', %5B'Hi!'%5D, %7B%0A%09%09cwd: __dirname%0A%09%7D, (err, stdout) =%3E %7B%0A%09%09t.ifError(err);%0A%09%09t.is(stdout.trim(), 'blah blah blah blah blah blah blah blah blah, blah blah blah blah blah blah blah blah blah blah, blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah');%0A%09%09t.end();%0A%09%7D);%0A%7D);%0A%0Atest.cb(t =%3E %7B%0A%09childProcess.execFile('./cli.js', %5B'blah blah blah blah blah blah blah blah blah, blah blah blah blah blah blah blah blah blah blah, blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah', '--decode'%5D, %7B%0A%09%09cwd: __dirname%0A%09%7D, (err, stdout) =%3E %7B%0A%09%09t.ifError(err);%0A%09%09t.is(stdout.trim(), 'hi!');%0A%09%09t.end();%0A%09%7D
 );%0A%7D

Add tests