We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Save the following to your repo's .git/hooks/pre-push file:
.git/hooks/pre-push
#!/bin/sh printf "Starting Unit Tests\n" npm run test testResults=$? if [ $testResults -eq 1 ] then echo -e "\n Tests FAILED\n\n push ABORTED" exit 1 fi exit 0