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

Adding pre commit hook to run npm test #64

Merged
merged 1 commit into from
Feb 19, 2016
Merged

Adding pre commit hook to run npm test #64

merged 1 commit into from
Feb 19, 2016

Conversation

pertrai1
Copy link
Member

This hook will run npm test while trying to commit to make sure the test pass. You will see warnings but that will not stop the commit. Only errors will prevent the commit and make you change the errors before being able to commit. In order for this to work you have to run npm install after pull.

@pertrai1
Copy link
Member Author

@DaleMcGrew @nf071590 Take a look and test this locally. You will see that it does npm test before you try to commit changes. #61 issue

@fi0rini
Copy link
Contributor

fi0rini commented Feb 19, 2016

👍

fi0rini added a commit that referenced this pull request Feb 19, 2016
Adding pre commit hook to run npm test
@fi0rini fi0rini merged commit a02a5ec into wevote:develop Feb 19, 2016
@pertrai1 pertrai1 deleted the pre-commit branch July 16, 2016 00:27
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