+angular Sachin, your config looks correct to me. Maybe the coverage processing (Istanbul) somehow screws up Angular. Can you check out the processed source file (in the browser, open web inspector, tab "scripts")?
On Sun, Aug 3, 2014 at 5:36 PM, Aymeric Beaumet <[email protected]> wrote: > Your configuration seems pretty straightforward and it's hard to tell > what's wrong with the information you provide. > > However you can check if there are errors in your browser console: > - if so, write them here > - if not, try to include the files in your Karma conf in the same order as > you do in the browser. > > > On Wednesday, 30 July 2014 11:42:51 UTC+2, Sachin Kumar wrote: >> >> I've created test cases using Jasmine for angular application and all the >> test cases are successfully running but when I try to find code coverage >> using Karma it shows following error: >> Argument 'dashboardCtrl' is not a function, got undefined >> Here 'dashboardCtrl' is controller name. >> >> Image file is attached which showing the execution process and the config >> file of karma js is also attached. Please tell me the solution for this >> problem. >> > -- > You received this message because you are subscribed to the Google Groups > "karma-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/karma-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/karma-users/f9d90033-be8a-4050-8ecc-5c2e51890c0e%40googlegroups.com > <https://groups.google.com/d/msgid/karma-users/f9d90033-be8a-4050-8ecc-5c2e51890c0e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
