/
githubmirror
/
pm2
Обзор
Документация
Войти
/
githubmirror
/
pm2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/e2e/modules/get-set.sh
24 строки
428 B
Unitech
Add Docker parallel test runner with Node.js and Bun support
06 фев 2026, 14:57
06 фев 2026, 14:57
63dc543
Код
Авторство
О чём код?
#!/usr/bin/env bash SRC=$(cd $(dirname "$0"); pwd) source "${SRC}/../include.sh" cd $file_path $pm2 unset all spec "Should unset all variables" ls ~/.pm2/module_conf.json spec "Should file exists" $pm2 get $pm2 set key1 val1 cat ~/.pm2/module_conf.json | grep "key1" spec "Should key exists" $pm2 unset key1 cat ~/.pm2/module_conf.json | grep "key1" ispec "Should key does not exist" rm -rf ~/.pm2/* 2>/dev/null || true