Page MenuHomePhabricator

[Cashtab] Run npm test before commit
ClosedPublic

Authored by bytesofman on Jun 3 2022, 18:16.

Details

Reviewers
kieran709
Group Reviewers
Restricted Project
Commits
rABCb6b66a36334e: [Cashtab] Run npm test before commit
Summary

T2439

Implementing husky to prevent git commits if cashtab unit tests fail.

Test Plan
  1. cd web/cashtab && npm i
  2. Change the text inside the <ZeroBalanceHeader> component inside Send.js
  3. git add .
  4. git commit -m '[Cashtab] Test commit to see if tests run'
  5. Note that unit tests run and fail as snapshots have changed
  6. Note that this commit did not complete

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable