-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 co-based generators #1032
Comments
meh :p easy to delegate that and just do it('should work', function(done){
co(function *(){
yield whatever;
})(done)
}) similar to the promise argument, I think leaving mocha at the simplest level with regular old callbacks is the best way to go |
:( yeah it's good to be consistent and only supporting callbacks and rejecting all control flow libs. |
I agree |
It may be a stupid question - but how do I have to call Any advice? |
|
Ah, okay, thanks a lot :-)). This option doesn't show up when running |
Currently the best way seems to be: it('should work', function(){
return co(function *(){
yield whatever;
});
}) |
@schickling you can use something like |
https://github.com/visionmedia/co
The text was updated successfully, but these errors were encountered: