mirror of
https://github.com/tw93/Mole.git
synced 2026-03-24 00:25:06 +00:00
fix: harden CI test stability and status collector resilience
This commit is contained in:
@@ -7,10 +7,7 @@ import (
|
||||
)
|
||||
|
||||
func TestTrashPathWithProgress(t *testing.T) {
|
||||
// Skip in CI environments where Finder may not be available.
|
||||
if os.Getenv("CI") != "" {
|
||||
t.Skip("Skipping Finder-dependent test in CI")
|
||||
}
|
||||
skipIfFinderUnavailable(t)
|
||||
|
||||
parent := t.TempDir()
|
||||
target := filepath.Join(parent, "target")
|
||||
@@ -42,10 +39,7 @@ func TestTrashPathWithProgress(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestDeleteMultiplePathsCmdHandlesParentChild(t *testing.T) {
|
||||
// Skip in CI environments where Finder may not be available.
|
||||
if os.Getenv("CI") != "" {
|
||||
t.Skip("Skipping Finder-dependent test in CI")
|
||||
}
|
||||
skipIfFinderUnavailable(t)
|
||||
|
||||
base := t.TempDir()
|
||||
parent := filepath.Join(base, "parent")
|
||||
|
||||
Reference in New Issue
Block a user