Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [16:36:04] Using gulpfile /path/to/my-webapp/app/gulpfile.js
- [16:36:04] Starting 'unit-test'...
- DEBUG [config]: autoWatch set to false, because of singleRun
- DEBUG [plugin]: Loading plugin karma-jasmine.
- DEBUG [plugin]: Loading plugin karma-junit-reporter.
- DEBUG [plugin]: Loading plugin karma-phantomjs-launcher.
- DEBUG [plugin]: Loading plugin karma-requirejs.
- DEBUG [watcher]: Resolved files:
- /path/to/my-webapp/app/node_modules/requirejs/require.js
- /path/to/my-webapp/app/node_modules/karma-requirejs/lib/adapter.js
- /path/to/my-webapp/app/node_modules/jasmine-core/lib/jasmine-core/jasmine.js
- /path/to/my-webapp/app/node_modules/karma-jasmine/lib/boot.js
- /path/to/my-webapp/app/node_modules/karma-jasmine/lib/adapter.js
- /path/to/my-webapp/app/dist/app.js
- /path/to/my-webapp/app/tests/main.test.js
- /path/to/my-webapp/app/tests/user/user.test.js
- INFO [karma]: Karma v0.12.37 server started at http://localhost:9876/
- INFO [launcher]: Starting browser PhantomJS
- DEBUG [temp-dir]: Creating temp dir at /tmp/karma-60321908
- DEBUG [launcher]: /path/to/my-webapp/app/node_modules/phantomjs/lib/phantom/bin/phantomjs /tmp/karma-60321908/capture.js
- DEBUG [web-server]: serving: /path/to/my-webapp/app/node_modules/karma/static/client.html
- DEBUG [web-server]: serving: /path/to/my-webapp/app/node_modules/karma/static/karma.js
- DEBUG [web-server]: upgrade /socket.io/1/websocket/5wMWftClRsfHPTKXB6O0
- DEBUG [karma]: A browser has connected on socket 5wMWftClRsfHPTKXB6O0
- INFO [PhantomJS 1.9.8 (Linux 0.0.0)]: Connected on socket 5wMWftClRsfHPTKXB6O0 with id 60321908
- DEBUG [launcher]: PhantomJS (id 60321908) captured in 1.146 secs
- DEBUG [web-server]: serving: /path/to/my-webapp/app/node_modules/karma/static/context.html
- DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/node_modules/requirejs/require.js
- DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/node_modules/karma-jasmine/lib/adapter.js
- DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/node_modules/karma-jasmine/lib/boot.js
- DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/node_modules/jasmine-core/lib/jasmine-core/jasmine.js
- DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/node_modules/karma-requirejs/lib/adapter.js
- DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/tests/main.test.js
- DEBUG [web-server]: serving (cached): /path/to/my-webapp/app/tests/user/user.test.js
- PhantomJS 1.9.8 (Linux 0.0.0) ERROR
- Error: Mismatched anonymous define() module: function (angular, app) {
- describe('Unit: UserController', function() {
- beforeEach(module('user.app'));
- it('should do something', function() {
- console.log('did it');
- });
- });
- }
- http://requirejs.org/docs/errors.html#mismatch
- at /path/to/my-webapp/app/node_modules/requirejs/require.js:141
- DEBUG [karma]: Run complete, exiting.
- DEBUG [launcher]: Disconnecting all browsers
- DEBUG [launcher]: Process PhantomJS exited with code 0
- DEBUG [temp-dir]: Cleaning temp dir /tmp/karma-60321908
- [16:36:06] Finished 'unit-test' after 1.46 s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement