/
githubmirror
/
pm2
Обзор
Документация
Войти
/
githubmirror
/
pm2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/e2e/cli/bun.sh
32 строки
576 B
Unitech
#5682 add test for bun over ts and tsx
06 окт 2023, 09:25
06 окт 2023, 09:25
f122aab
Код
Авторство
О чём код?
#!/usr/bin/env bash SRC=$(cd $(dirname "$0"); pwd) source "${SRC}/../include.sh" cd $file_path/interpreter ########### typescript fork test $pm2 delete all >typescript.log $pm2 start echo.ts -o typescript.log --merge-logs sleep 1.5 grep "Hello Typescript!" typescript.log spec "Should work on Typescript files in fork mode" # ########### typescript cluster test $pm2 delete all >typescript.log $pm2 start echo.tsx -o typescript.log --merge-logs sleep 1.5 grep "Hello Typescript!" typescript.log spec "Should work on Typescript files in fork mode" $pm2 delete all