husky/test/4_not-git-dir.sh

12 lines
155 B
JavaScript
Executable File

#!/bin/sh
. test/functions.sh
setup
install
# Should not fail
rm -rf .git
expect 0 "npx --no-install husky"
mkdir .git
expect 0 "npx --no-install husky"