I’ve started looking at how to unit test my app but I can’t seem to wrap my head around it.
Say I have a controller that what it does is getting data from cache and pass it to scope ? What would be a unit test for this controller ?
Say I have different services injected, I keep getting on Karma “unknown provider” on the services. How to overcome this ?
Can’t seem to find a unit test for dummies tutorial on the web…