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

improve Git coverage #1365

Merged
merged 1 commit into from
Oct 22, 2016
Merged

Conversation

tudorgergely
Copy link
Contributor

Summary

This pull request adds tests for util/git.js. It improves the coverage to ~67% and also fixes a bug where Git.assertUrl was not checking correctly for git:// urls (because it was expecting the protocol to be git but it is actually git:.

Test plan

npm run test now outputs ~67% statements covered and 78% functions for util/git.js

@samccone
Copy link
Member

👍 thanks

@samccone samccone merged commit f71a70d into yarnpkg:master Oct 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants