mirror of
https://github.com/hanzoai/husky.git
synced 2026-09-24 16:59:45 +00:00
12 lines
157 B
JavaScript
Executable File
12 lines
157 B
JavaScript
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"
|