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 while executing karma tests #160

Open
yasahmed opened this issue Aug 20, 2015 · 1 comment
Open

Error while executing karma tests #160

yasahmed opened this issue Aug 20, 2015 · 1 comment

Comments

@yasahmed
Copy link

When i tried to execute some tests using this command line, i get many errors :

Running "karma:unit" (karma) task                                                                              
19 08 2015 13:03:07.905:WARN [watcher]: Pattern "C:/ng/firstngapp/test/mock/**/*.js" does not match any file.  
19 08 2015 13:03:08.628:INFO [karma]: Karma v0.13.9 server started at http://localhost:8080/                   
19 08 2015 13:03:08.721:INFO [launcher]: Starting browser PhantomJS                                            
19 08 2015 13:03:11.550:INFO [PhantomJS 1.9.8 (Windows 7 0.0.0)]: Connected on socket CrW_D9jEniUIsLIKAAAA with
 id 40933185                                                                                                   
PhantomJS 1.9.8 (Windows 7 0.0.0) ERROR                                                                        
  ReferenceError: Can't find variable: require                                                                 
  at C:/ng/firstngapp/bower_components/uglify-js/uglify-js.js:14                                               


Warning: Task "karma:unit" failed. Use --force to continue.                                                    

Aborted due to warnings.                                                                                       


Execution Time (2015-08-19 13:02:34 UTC)                                                                       
wiredep:app         6s  ████████████ 15%                                                                       
concurrent:test  24.4s  ████████████████████████████████████████████████ 63%                                   
connect:test      1.4s  ███ 4%                                                                                 
karma:unit        6.3s  █████████████ 16%                                                                      
Total 38.8s                                                                                                    

thank's for any help

@dignifiedquire
Copy link
Member

It's hard to tell, from this, can you share either a github repo, or at least your config files?

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

No branches or pull requests

3 participants