it('should recognize a generator', function() {
    const fn = function*() { };
    const actual = isGenerator(fn);

    expect(actual).to.be.true;