[Cashtab] Run npm test before commit
Summary:
T2439
Implementing husky to prevent git commits if cashtab unit tests fail.
Test Plan:
- cd web/cashtab && npm i
- Change the text inside the <ZeroBalanceHeader> component inside Send.js
- git add .
- git commit -m '[Cashtab] Test commit to see if tests run'
- Note that unit tests run and fail as snapshots have changed
- Note that this commit did not complete
Reviewers: #bitcoin_abc, kieran709
Reviewed By: #bitcoin_abc, kieran709
Differential Revision: https://reviews.bitcoinabc.org/D11566