Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: add unit test execution in the precommit

Ilian Sapundshiev24f76abb9769
diff --git a/.husky/pre-commit b/.husky/pre-commit
index c8dd5d977..be44fd6d5 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
-npm run prettier-check && npm run type-check
+npm run prettier-check && npm run type-check && npm run test-unit