Skip to content

Commit

Permalink
perf(husky): add yarn test
Browse files Browse the repository at this point in the history
add yarn test for pre-commit hook to check if all the tests are passing before committing

Signed-off-by: Niloy Sikdar <niloysikdar30@gmail.com>
  • Loading branch information
niloysikdar committed Jun 28, 2022
1 parent 38af20b commit 1b4d91f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn test
yarn lint-staged && git add -A .

0 comments on commit 1b4d91f

Please sign in to comment.