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