-
Notifications
You must be signed in to change notification settings - Fork 15
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
fix(account): set username to undefined on signout #38
Conversation
Oh, that looks like chaos in our build! =) |
Sorry for that: Fix due ddda91d Please rebase to avoid merge commits. |
NPM test is still pointing to grunt: https://github.com/elmarburke/hoodie-plugin-angularjs/blob/master/package.json#L6 $ npm test
> [email protected] test /Users/djpfahler/localhost/hoodie-plugin-angularjs
> grunt
grunt-cli: The grunt command line interface. (v0.1.13)
Fatal error: Unable to find local grunt.
If you're seeing this message, either a Gruntfile wasn't found or grunt
hasn't been installed locally to your project. For more information about
installing and configuring grunt, please see the Getting Started guide:
http://gruntjs.com/getting-started
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
Also $ gulp test
[16:12:39] Using gulpfile ~/localhost/hoodie-plugin-angularjs/Gulpfile.js
[16:12:39] Starting 'karma:dev'...
[16:12:40] Starting Karma server...
INFO [karma]: Karma v0.10.10 server started at http://localhost:9876/
INFO [launcher]: Starting browser PhantomJS
WARN [watcher]: Pattern "/Users/djpfahler/localhost/hoodie-plugin-angularjs/bower_components/jquery/dist/jquery.js" does not match any file.
WARN [watcher]: Pattern "/Users/djpfahler/localhost/hoodie-plugin-angularjs/bower_components/hoodie/dist/hoodie.js" does not match any file.
WARN [watcher]: Pattern "/Users/djpfahler/localhost/hoodie-plugin-angularjs/bower_components/angular/angular.js" does not match any file.
WARN [watcher]: Pattern "/Users/djpfahler/localhost/hoodie-plugin-angularjs/bower_components/angular-mocks/angular-mocks.js" does not match any file.
INFO [PhantomJS 1.9.7 (Mac OS X)]: Connected on socket ZkD97K6qw5Tw6p83asHn
PhantomJS 1.9.7 (Mac OS X) ERROR
ReferenceError: Can't find variable: angular
at /Users/djpfahler/localhost/hoodie-plugin-angularjs/src/_main.js:9
PhantomJS 1.9.7 (Mac OS X) ERROR
ReferenceError: Can't find variable: angular
at /Users/djpfahler/localhost/hoodie-plugin-angularjs/src/hoodieAccount.js:9
PhantomJS 1.9.7 (Mac OS X) ERROR
ReferenceError: Can't find variable: angular
at /Users/djpfahler/localhost/hoodie-plugin-angularjs/src/hoodieArray.js:9
PhantomJS 1.9.7 (Mac OS X) ERROR
ReferenceError: Can't find variable: angular
at /Users/djpfahler/localhost/hoodie-plugin-angularjs/src/hoodieProvider.js:9
PhantomJS 1.9.7 (Mac OS X): Executed 0 of 0 ERROR (0.019 secs / 0 secs)
[16:12:42] 'karma:dev' errored after 2.13 s
[16:12:42] Error in plugin 'gulp-karma'
karma exited with code 1 Please fix tests. |
Hi @davidpfahler, |
The changes are now moved to http://github.com/elmarburke/hoodie-plugin-angularjs/tree/pr/38 and added tests. Currently there is something wrong with the tests, @robinboehm will look at this soon! |
@elmarburke You are correct, L26+27 was an oversight on my part. Can I delete my fork or do you need anything else from me? |
Fixes #37.
I was unable to add tests or run the existing tests against this change, so don't merge right away! Neither Grunt nor Gulp ran without errors, I couldn't test. I ran
npm install
andbower install
and this is the output I get: