Having trouble in testing angular controller. Im using angular with require js and using karma for testing. Is there any example and github sample.
Here is a project I created with unit test for RequireJS and AngularJS:
https://github.com/marcoslin/angularAMD
To run the test, do the following:
npm install
grunt test
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With