Skip to content

Instantly share code, notes, and snippets.

@ruipenso
Created June 17, 2015 19:38
Show Gist options
  • Select an option

  • Save ruipenso/9f887108d249bab98895 to your computer and use it in GitHub Desktop.

Select an option

Save ruipenso/9f887108d249bab98895 to your computer and use it in GitHub Desktop.
ng-idle test
Running "karma:unit" (karma) task
INFO [karma]: Karma v0.10.10 server started at http://localhost:9876/
INFO [launcher]: Starting browser PhantomJS
connect deprecated res.headerSent: use standard res.headersSent node_modules/karma/node_modules/connect/lib/proto.js:125:22
connect deprecated res.on("header"): use on-headers npm module instead node_modules/karma/node_modules/connect/lib/middleware/compress.js:126:9
connect deprecated res.headerSent: use standard res.headersSent node_modules/karma/node_modules/connect/lib/middleware/compress.js:115:18
connect deprecated res.headerSent: use standard res.headersSent node_modules/karma/node_modules/connect/lib/middleware/compress.js:107:16
INFO [PhantomJS 1.9.8 (Mac OS X)]: Connected on socket DWD3b5eajgtjApm8BL6o
LOG: 'WARNING: Tried to load angular more than once.'
PhantomJS 1.9.8 (Mac OS X) ngIdle idle-countdown should initialize the countdown scope value to the Idle timeout FAILED
Error: [$injector:modulerr] Failed to instantiate module ng due to:
Error: [$injector:modulerr] Failed to instantiate module ngLocale due to:
RangeError: Maximum call stack size exceeded.
at /Users/ruisilva/Projects/seegno-forks/ng-idle/bower_components/angular-mocks/angular-mocks.js:2204
...
...
at /Users/ruisilva/Projects/seegno-forks/ng-idle/bower_components/angular/angular.js:4379
at forEach (/Users/ruisilva/Projects/seegno-forks/ng-idle/bower_components/angular/angular.js:336)
at loadModules (/Users/ruisilva/Projects/seegno-forks/ng-idle/bower_components/angular/angular.js:4381)
at createInjector (/Users/ruisilva/Projects/seegno-forks/ng-idle/bower_components/angular/angular.js:4265)
at workFn (/Users/ruisilva/Projects/seegno-forks/ng-idle/node_modules/angular-mocks/angular-mocks.js:2409)
TypeError: 'undefined' is not an object (evaluating 'Idle.setTimeout')
at /Users/ruisilva/Projects/seegno-forks/ng-idle/src/countdown/countdown.spec.js:32
PhantomJS 1.9.8 (Mac OS X): Executed 1 of 76 (1 FAILED) (0 secs / 0.706 secs)
PhantomJS 1.9.8 (Mac OS X): Executed 1 of 76 (1 FAILED) DISCONNECTED (2 mins 0.255 secs / 0.706 secs)
Warning: Task "karma:unit" failed. Use --force to continue.
Aborted due to warnings.
npm ERR! Darwin 14.3.0
npm ERR! argv "/Users/ruisilva/.nvm/versions/io.js/v1.7.1/bin/iojs" "/Users/ruisilva/.nvm/versions/io.js/v1.7.1/bin/npm" "run-script" "test"
npm ERR! node v1.7.1
npm ERR! npm v2.7.6
npm ERR! code ELIFECYCLE
npm ERR! ng-idle@1.1.0 test: `grunt test`
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the ng-idle@1.1.0 test script 'grunt test'.
npm ERR! This is most likely a problem with the ng-idle package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! grunt test
npm ERR! You can get their info via:
npm ERR! npm owner ls ng-idle
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/ruisilva/Projects/seegno-forks/ng-idle/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment