mirror of
https://github.com/tw93/Mole.git
synced 2026-02-07 15:04:19 +00:00
test: mock clean_ds_store_tree and UI functions in clean_misc.bats
This commit is contained in:
@@ -95,6 +95,10 @@ set -euo pipefail
|
||||
source "$PROJECT_ROOT/lib/core/common.sh"
|
||||
source "$PROJECT_ROOT/lib/clean/user.sh"
|
||||
run_with_timeout() { return 1; }
|
||||
# Mock missing dependencies and UI to ensure test passes regardless of volumes
|
||||
clean_ds_store_tree() { :; }
|
||||
start_section_spinner() { :; }
|
||||
stop_section_spinner() { :; }
|
||||
scan_external_volumes
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user