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

Add support for Ember Test registered waiters to wait helper #141

Merged
merged 2 commits into from
Jan 24, 2016

Conversation

adamjmcgrath
Copy link
Contributor

Adds support for Ember Test registered waiters (http://emberjs.com/api/classes/Ember.Test.html#method_registerWaiter)

See #139

@@ -42,6 +43,10 @@ export default function wait(_options) {
return;
}

if (waitForWaiters && (Ember.Test.waiters && Ember.Test.waiters.any(([context, callback]) => !callback.call(context)))) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you structure this to be multiple lines?

@adamjmcgrath adamjmcgrath force-pushed the check-ember-test-waiters branch from 746b071 to 39fe6b2 Compare January 21, 2016 21:00
rwjblue added a commit that referenced this pull request Jan 24, 2016
Add support for Ember Test registered waiters to wait helper
@rwjblue rwjblue merged commit d42171b into emberjs:master Jan 24, 2016
@rwjblue
Copy link
Member

rwjblue commented Jan 24, 2016

Awesome, thank you!

@mmun
Copy link
Member

mmun commented Jan 25, 2016

Nice 👍

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.

3 participants