-
Notifications
You must be signed in to change notification settings - Fork 36
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
feat(async): support returning promises #48
Comments
Well, I think it's lame that they don't want to support returning promises. On Fri, Jun 10, 2016 at 3:13 PM, Sammy Jelin notifications@github.com
|
The plugin is a bit weird because you have to include it as a spec. Also, we can use our existing infrastructure around async functions to implement this in ~10 lines - much smaller than including a whole new plugin. And I don't know if |
@sjelin async function support would be an awesome feature. Any idea of when it might become available? |
This is already available, as of PR #49. I expected merging that PR to automatically close this issue but I guess not. If I recall correctly, I discovered upon further investigation that the functionality was there the whole time and nothing needed to be done. |
Jasmine has opted not to support returning promises: jasmine/jasmine#681
One result of this is that users can't take advantage of async functions 😢
We should just support async functions ourselves. Our users want it (angular/protractor#1214) and it seems like the way of the future.
Thoughts @juliemr @cnishina @mgiambalvo ?
The text was updated successfully, but these errors were encountered: