mirror of
https://github.com/tw93/Mole.git
synced 2026-03-22 16:45:07 +00:00
feat(status): alert on persistent high-cpu processes (#602)
* feat(status): alert on persistent high-cpu processes * refactor(status): keep high-cpu alerts read-only * fix(status): address lint and sudo test regressions --------- Co-authored-by: Tw93 <hitw93@gmail.com>
This commit is contained in:
@@ -73,6 +73,7 @@ setup() {
|
||||
|
||||
@test "request_sudo_access clears four lines in clamshell mode when Touch ID hint is shown" {
|
||||
run bash -c '
|
||||
unset MOLE_TEST_MODE MOLE_TEST_NO_AUTH
|
||||
source "'"$PROJECT_ROOT"'/lib/core/common.sh"
|
||||
source "'"$PROJECT_ROOT"'/lib/core/sudo.sh"
|
||||
|
||||
@@ -101,6 +102,7 @@ setup() {
|
||||
|
||||
@test "request_sudo_access keeps three-line cleanup in clamshell mode without Touch ID" {
|
||||
run bash -c '
|
||||
unset MOLE_TEST_MODE MOLE_TEST_NO_AUTH
|
||||
source "'"$PROJECT_ROOT"'/lib/core/common.sh"
|
||||
source "'"$PROJECT_ROOT"'/lib/core/sudo.sh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user