Skip to content

Commit

Permalink
Structure the waiter check to be multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath committed Jan 21, 2016
1 parent d3270ac commit 39fe6b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/ember-test-helpers/wait.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ export default function wait(_options) {
return;
}

if (waitForWaiters && (Ember.Test.waiters && Ember.Test.waiters.any(([context, callback]) => !callback.call(context)))) {
if (waitForWaiters && Ember.Test.waiters && Ember.Test.waiters.any(([context, callback]) => {
return !callback.call(context);
})) {
return;
}

Expand Down

0 comments on commit 39fe6b2

Please sign in to comment.