1) What do you think about wrapping callbacks with promises? It causes test failures when I run them using ember test. And it is also a proper way of handling async stuff in Ember.
2) What do you think about checking if environment is testing and replacing real requests with stubs?
Hi,
1) What do you think about wrapping callbacks with promises? It causes test failures when I run them using
ember test
. And it is also a proper way of handling async stuff in Ember. 2) What do you think about checking if environment istesting
and replacing real requests with stubs?