blakeembrey/co-mocha — pull request #2 by MajorBreakfast (2014-05-03 09:50:57+00:00)
Title: Compatibility with traceur

The generator functions that traceur creates aren't really generators, they're just plain functions. The check `this.fn.constructor.name === 'GeneratorFunction'` doesn't work. This change makes it work even for them. Sure it's not as nice (3 lines more) but I think it's worth it.