From f821e9a306e578bbd167e8c4184c73ed17d32c29 Mon Sep 17 00:00:00 2001 From: PJ Date: Sat, 6 Jun 2026 12:47:11 +0530 Subject: [PATCH] test(cmd): drop flaky TestRun_Doctor that launched real Chromium --- cmd/sanderling/main_test.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/cmd/sanderling/main_test.go b/cmd/sanderling/main_test.go index e09af34..90b579b 100644 --- a/cmd/sanderling/main_test.go +++ b/cmd/sanderling/main_test.go @@ -152,17 +152,6 @@ func TestRun_UnknownCommand(t *testing.T) { } } -func TestRun_Doctor(t *testing.T) { - var stdout bytes.Buffer - // Doctor may pass or fail depending on host environment; we just want to - // confirm it runs and emits per-check lines. - _ = run([]string{"sanderling", "doctor"}, &stdout, io.Discard) - output := stdout.String() - if !strings.Contains(output, "OK") && !strings.Contains(output, "FAIL") { - t.Errorf("doctor output missing OK/FAIL lines: %q", output) - } -} - func TestParseTestArgs_AcceptsIosPlatform(t *testing.T) { options, err := parseTestArgs([]string{ "--spec", "s.ts",