ember.js - Should I have to nest Ember.run & andThen functions when doing testing? -


i'm writing tests in ember qunit , find code looking like:

ember.run(function(){ ... });  andthen(function(){    ember.run( ... )   andthen(function(){     ...   }); }); 

i have tests nested beyond 3-4 times. nesting ember.run & andthen functions necessary or bad practice?


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -