You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems since this commit where wait delegates to settled, passing a non-object (e.g. boolean) to wait would cause a Cannot use 'in' operator to search for 'waitForTimers' in true error. Prior to this, this would work (the argument would simply have no effect).
Great sleuthing. There is another reported issue around this same sort of thing (though I didn’t know it was related until you tracked down the problem).
The fix here should be to check the arg is an object and not-null before checking for options...
Seems since this commit where
wait
delegates tosettled
, passing a non-object (e.g. boolean) towait
would cause aCannot use 'in' operator to search for 'waitForTimers' in true
error. Prior to this, this would work (the argument would simply have no effect).Offending line:
ember-test-helpers/addon-test-support/@ember/test-helpers/settled.js
Line 171 in 9eb3e32
Example: https://travis-ci.org/kybishop/ember-popper/jobs/328856339#L547
Caused by: https://github.com/kybishop/ember-popper/blob/5d4457588fd9f30f7a0a2aa34a28e86209ae5978/tests/integration/components/ember-popper/action-test.js#L46
The text was updated successfully, but these errors were encountered: