News for hackers. Stuff that matters.
Re:Angular 2 Core by Wintamute on Sunday October 26, 2014 @09:21AM (#8510939)
You can fully mock out those services and pass them into the component under test. Those mocks could return an immediately succeeding (or failing) promise for example. Hey presto, no uncertainty or weird promise handling code in your tests.

There are no comments on this comment yet.