Atul Chaudhary
Atul Chaudhary

Reputation: 1133

Testing Angularjs using RequireJS using Karma

Having trouble in testing angular controller. Im using angular with require js and using karma for testing. Is there any example and github sample.

Upvotes: 3

Views: 3026

Answers (1)

marcoseu
marcoseu

Reputation: 3952

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

Upvotes: 2

Related Questions