Closed rcurrier666 closed 7 years ago
Finally had some time to get back to this. Fixed my git branch (still learning git), renamed revoke to revokeToken for clarity, added tests for revokeToken. Uber.js is failing code coverage. Line 183 is mine, the others are not. I have no idea how to test the "happy path" since revokeToken doesn't return anything (revoke is happy if any string is passed in). If someone knows how to test line 183 (return;) let me know and I'll fix the tests. This should be ready for code review and merging now.
@rcurrier666 thanks for the PR! could you please add tests so that the coverage check doesn't fail anymore?
https://travis-ci.org/shernshiou/node-uber/jobs/255144175#L995
solved with #64
Add support for Revoke token function