Skip to content

Commit a80ead5

Browse files
committed
test: add test
1 parent f248876 commit a80ead5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

test/6_git_command_not_found.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
. "$(dirname "$0")/functions.sh"
2+
setup
3+
install
4+
5+
cat > index.js << EOL
6+
process.env.PATH = ''
7+
require('husky').install()
8+
EOL
9+
expect 0 "node index.js"
10+

test/all.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ sh test/2_in-sub-dir.sh
66
sh test/3_from-sub-dir.sh
77
sh test/4_not-git-dir.sh
88
sh test/5_set-add.sh
9+
sh test/6_git_command_not_found.sh

0 commit comments

Comments
 (0)