Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR [karma]: [TypeError: Cannot read property * of undefined] #47

Closed
FJLopezGarcia opened this issue Sep 26, 2014 · 5 comments
Closed

Comments

@FJLopezGarcia
Copy link

I have the same issue but running karma directly from Node.js, when i run my "grunt test:unit", i am receiving the following error:
nodejs

My Karma config file:
karma

Unit test code:
code

Any idea how to fix that and run my UI Unit test with Karma? thanks alot for your help!!!!

@FJLopezGarcia
Copy link
Author

Some knows how to fix that issue? thanks!!

@maksimr
Copy link
Contributor

maksimr commented Sep 30, 2014

@FJLopezGarcia hello! What version of karma-jasmine you use?

Thanks!

@FJLopezGarcia
Copy link
Author

"karma-jasmine": "~0.1.5",

@maksimr
Copy link
Contributor

maksimr commented Sep 30, 2014

@FJLopezGarcia install version 0.2.* which contains jasmine 2.0.

@FJLopezGarcia
Copy link
Author

Thanks!! it works
npm install karma-jasmine@2_0 --save-dev --> It contains jasmine 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants