Files
husky/test/5_git_command_not_found.sh
T
2024-01-25 02:49:33 +01:00

12 lines
157 B
Bash
Executable File

#!/bin/sh
. test/functions.sh
setup
install
cat >index.mjs <<EOL
process.env.PATH = ''
import h from 'husky'
console.log(h())
EOL
expect 0 "node index.mjs"