Advertisement
Guest User

Untitled

a guest
Jun 29th, 2015
594
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1.  
  2. [16:36:04] Using gulpfile /path/to/my-webapp/app/gulpfile.js
  3. [16:36:04] Starting 'unit-test'...
  4. DEBUG [config]: autoWatch set to false, because of singleRun
  5. DEBUG [plugin]: Loading plugin karma-jasmine.
  6. DEBUG [plugin]: Loading plugin karma-junit-reporter.
  7. DEBUG [plugin]: Loading plugin karma-phantomjs-launcher.
  8. DEBUG [plugin]: Loading plugin karma-requirejs.
  9. DEBUG [watcher]: Resolved files:
  10. /path/to/my-webapp/app/node_modules/requirejs/require.js
  11. /path/to/my-webapp/app/node_modules/karma-requirejs/lib/adapter.js
  12. /path/to/my-webapp/app/node_modules/jasmine-core/lib/jasmine-core/jasmine.js
  13. /path/to/my-webapp/app/node_modules/karma-jasmine/lib/boot.js
  14. /path/to/my-webapp/app/node_modules/karma-jasmine/lib/adapter.js
  15. /path/to/my-webapp/app/dist/app.js
  16. /path/to/my-webapp/app/tests/main.test.js
  17. /path/to/my-webapp/app/tests/user/user.test.js
  18. INFO [karma]: Karma v0.12.37 server started at http://localhost:9876/
  19. INFO [launcher]: Starting browser PhantomJS
  20. DEBUG [temp-dir]: Creating temp dir at /tmp/karma-60321908
  21. DEBUG [launcher]: /path/to/my-webapp/app/node_modules/phantomjs/lib/phantom/bin/phantomjs /tmp/karma-60321908/capture.js
  22. DEBUG [web-server]: serving: /path/to/my-webapp/app/node_modules/karma/static/client.html
  23. DEBUG [web-server]: serving: /path/to/my-webapp/app/node_modules/karma/static/karma.js
  24. DEBUG [web-server]: upgrade /socket.io/1/websocket/5wMWftClRsfHPTKXB6O0
  25. DEBUG [karma]: A browser has connected on socket 5wMWftClRsfHPTKXB6O0
  26. INFO [PhantomJS 1.9.8 (Linux 0.0.0)]: Connected on socket 5wMWftClRsfHPTKXB6O0 with id 60321908
  27. DEBUG [launcher]: PhantomJS (id 60321908) captured in 1.146 secs
  28. DEBUG [web-server]: serving: /path/to/my-webapp/app/node_modules/karma/static/context.html
  29. DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/node_modules/requirejs/require.js
  30. DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/node_modules/karma-jasmine/lib/adapter.js
  31. DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/node_modules/karma-jasmine/lib/boot.js
  32. DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/node_modules/jasmine-core/lib/jasmine-core/jasmine.js
  33. DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/node_modules/karma-requirejs/lib/adapter.js
  34. DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/tests/main.test.js
  35. DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/tests/user/user.test.js
  36. PhantomJS 1.9.8 (Linux 0.0.0) ERROR
  37. Error: Mismatched anonymous define() module: function (angular, app) {
  38. describe('Unit: UserController', function() {
  39. beforeEach(module('user.app'));
  40.  
  41. it('should do something', function() {
  42. console.log('did it');
  43. });
  44. });
  45. }
  46. http://requirejs.org/docs/errors.html#mismatch
  47. at /path/to/my-webapp/app/node_modules/requirejs/require.js:141
  48.  
  49. DEBUG [karma]: Run complete, exiting.
  50. DEBUG [launcher]: Disconnecting all browsers
  51. DEBUG [launcher]: Process PhantomJS exited with code 0
  52. DEBUG [temp-dir]: Cleaning temp dir /tmp/karma-60321908
  53. [16:36:06] Finished 'unit-test' after 1.46 s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement