jerel / ember-cli-loading-slider

A YouTube like loading indicator for EmberJS packaged as an Ember CLI add-on.
MIT License
116 stars 36 forks source link

setInterval usage causing async issues and timeouts in tests #38

Closed scottkidder closed 5 years ago

scottkidder commented 5 years ago

It seems that the setInterval and clearInterval are causing issues in testing including random and annoying test timeouts.

For now I have disabled the route mixin loading hook handling in test mode to workaround the issue.

Unfortunately there is no Backburner implementation of setInterval (https://github.com/BackburnerJS/backburner.js/issues/66) but maybe https://github.com/nypublicradio/ember-poll can do the trick.

scottkidder commented 5 years ago

Closing due to inactivity.