This commit is contained in:
madegryc pc
2024-08-10 17:29:33 +02:00
parent 2f17dabad0
commit 506ab20c83
257 changed files with 184436 additions and 14 deletions

16
site/interface/node_modules/stats/test/run generated vendored Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
export NODE_ENV=test
echo
for file in $@; do
printf "\033[90m ${file#test/}\033[0m "
node $file 2> /tmp/stderr && echo "\033[36m✓\033[0m"
code=$?
if test $code -ne 0; then
echo "\033[31m✖\033[0m"
cat /tmp/stderr >&2
exit $code
fi
done
echo