/
githubmirror
/
pm2
Обзор
Документация
Войти
/
githubmirror
/
pm2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/e2e/cli/mjs.sh
18 строк
454 B
Unitech
remove smever old node.js checks
28 апр 2026, 19:40
28 апр 2026, 19:40
b16c18a
Код
Авторство
О чём код?
#!/usr/bin/env bash SRC=$(cd $(dirname "$0"); pwd) source "${SRC}/../include.sh" cd $file_path/mjs $pm2 start --node-args="--experimental-modules" index.mjs -o outech.log -e errech.log >outech.log >errech.log sleep 2 should 'should app be online in fork mode with MJS support' 'online' 1 $pm2 delete all $pm2 start --node-args="--experimental-modules" -i 2 index.mjs sleep 2 should 'should app be online in cluster mode with MJS support' 'online' 2