I'm trying to learn how to perform unit testing for Angular controllers, services, etc in Visual Studio 2012 using Chutzpah and Jasmine.
All of my tests work fine when executed from a test page (TestRunner.html) that I created, but one of them fails when I try to execute it from Chutzpah.
The error message that I'm getting is:
Test 'userData getUser:should call getresource.get with the username' failed TypeError: 'undefined' is not an object (evaluating 'currentSpec.queue.running') in Error: [$injector:unpr] Unknown provider: userResourceProvider <- userResource <- userData
I created a repo on GitHub - https://github.com/bfout/Angular-Unit-Testing