Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support generator callbacks #14

Closed

Conversation

HowlingEverett
Copy link

Using co 4.0+, generator functions passed as the test callback for tape
can be executed as promises.

Regarding tests: checking for this._cb.next/throw gracefully degrades to versions of node with no generator support, but I’d have to include Node 4.0+/—harmony flag features in the tests. If you like I can create a second test execution in the package json for ES6-only tests…

Using co 4.0+, generator functions passed as the test callback for tape
can be executed as promises.
@spion
Copy link
Owner

spion commented Nov 26, 2015

Decided to not go with this in #6

@spion spion closed this Nov 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants