Pre-commit hooks
Add this to your .pre-commit-config.yaml
- repo: https://github.com/djgoku/hooks
rev: v0.1.0 # Use the ref you want to point at
hooks:
- id: bats
args: ["bats/tests"]
# - id: ...
Requires ~bats~ to be installed.
Run Bash Automated Testing System (bats) tests.
- Specify the bats testing folder with
args: ["bats/tests"]
.