1974 Views
When dealing with promises while writing tests there are several approaches you can take. We will start with some specs that just have to consume a promise. Youusually don't care what the dependency that creates the promise does. If this is the case, create a spy for it.
0 comments