Skip to content
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

1074 - Unit tests: UI: Expand unit tests for github code - Part I #709

Merged
merged 4 commits into from
Sep 23, 2016

Conversation

sean-sq-chen
Copy link
Contributor

@sean-sq-chen sean-sq-chen commented Sep 22, 2016

JIRA: https://jira.hpcloud.net/browse/HSC-1074

This PR adds unit test for
plugins/github/view/github-authentication/ github-oauth.service.js

The coverage is:
100% Statements 29/29 100% Branches 6/6 100% Functions 8/8 100% Lines 29/29

This PR also fixes an issue with adding the same event listener multiple times. It remove the listener when should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants