Testing with Angular promises using Jasmine

added by JavaScript Kicks
11/3/2015 1:46:03 PM

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