Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Result is this: ``` $ npm test > docker-registry-frontend@0.0.2 test /Users/marca/dev/git-repos/docker-registry-frontend_2 > karma start test/karma.conf.js 09 07 2016 13:17:02.420:WARN [watcher]: Pattern "/Users/marca/dev/git-repos/docker-registry-frontend_2/app/scripts/**/*.js" does not match any file. 09 07 2016 13:17:02.424:WARN [watcher]: Pattern "/Users/marca/dev/git-repos/docker-registry-frontend_2/test/mock/**/*.js" does not match any file. 09 07 2016 13:17:02.445:WARN [karma]: No captured browser, open http://localhost:8080/ 09 07 2016 13:17:02.452:WARN [karma]: Port 8080 in use 09 07 2016 13:17:02.453:INFO [karma]: Karma v1.1.1 server started at http://localhost:8081/ 09 07 2016 13:17:02.453:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency 09 07 2016 13:17:02.483:INFO [launcher]: Starting browser PhantomJS 09 07 2016 13:17:02.979:INFO [PhantomJS 2.1.1 (Mac OS X 0.0.0)]: Connected on socket /#2jY2WSOiqKjEJUvUAAAA with id 51298400 PhantomJS 2.1.1 (Mac OS X 0.0.0) Controller: AboutCtrl should attach a list of awesomeThings to the scope FAILED forEach@bower_components/angular/angular.js:326:24 loadModules@bower_components/angular/angular.js:4115:12 createInjector@bower_components/angular/angular.js:4041:22 workFn@bower_components/angular-mocks/angular-mocks.js:2464:60 loaded@http://localhost:8081/context.js:151:17 bower_components/angular/angular.js:4155:53 TypeError: undefined is not an object (evaluating 'scope.awesomeThings') in test/spec/controllers/about.js (line 20) test/spec/controllers/about.js:20:17 loaded@http://localhost:8081/context.js:151:17 PhantomJS 2.1.1 (Mac OS X 0.0.0) Controller: MainCtrl should attach a list of awesomeThings to the scope FAILED forEach@bower_components/angular/angular.js:326:24 loadModules@bower_components/angular/angular.js:4115:12 createInjector@bower_components/angular/angular.js:4041:22 workFn@bower_components/angular-mocks/angular-mocks.js:2464:60 loaded@http://localhost:8081/context.js:151:17 bower_components/angular/angular.js:4155:53 TypeError: undefined is not an object (evaluating 'scope.awesomeThings') in test/spec/controllers/main.js (line 20) test/spec/controllers/main.js:20:17 loaded@http://localhost:8081/context.js:151:17 PhantomJS 2.1.1 (Mac OS X 0.0.0): Executed 2 of 2 (2 FAILED) ERROR (0.004 secs / 0.01 secs) ``` Fixes #139
- Loading branch information