This PR aims at reducing the chance of the student submitting a non-working solution that hasn't passed the tests. It does it by running the tests before git commit is run using husky hook (pre-commit).
pinst scripts are used to prevent the postinstall script from running on any other environment except dev.
Closes #391
This PR aims at reducing the chance of the student submitting a non-working solution that hasn't passed the tests. It does it by running the tests before
git commit
is run using husky hook (pre-commit).pinst
scripts are used to prevent thepostinstall
script from running on any other environment except dev.