Blame test.js

Jared K. Smith 7005719
import test from 'ava';
Jared K. Smith 7005719
import fn from './';
Jared K. Smith 7005719
Jared K. Smith 7005719
test(t => {
Jared K. Smith 7005719
	t.true(fn(function * () {}));
Jared K. Smith 7005719
Jared K. Smith 7005719
	t.true(fn(function * () {
Jared K. Smith 7005719
		yield 'unicorn';
Jared K. Smith 7005719
	}));
Jared K. Smith 7005719
Jared K. Smith 7005719
	t.false(fn(null));
Jared K. Smith 7005719
	t.false(fn(undefined));
Jared K. Smith 7005719
	t.false(fn(function () {}));
Jared K. Smith 7005719
	t.false(fn(''));
Jared K. Smith 7005719
Jared K. Smith 7005719
	t.end();
Jared K. Smith 7005719
});