1
0
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:
Tw93
2026-01-05 17:43:25 +08:00
parent d968cc0ab7
commit 3da97c57c6

View File

@@ -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