test(cmd): drop flaky TestRun_Doctor that launched real Chromium

This commit is contained in:
pj committed 2026-06-06 13:07:10 +05:30
1 parent a6f39e3441
commit f821e9a306
1 file changed
-11
-11
View File
@@ -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) { func TestParseTestArgs_AcceptsIosPlatform(t *testing.T) {
options, err := parseTestArgs([]string{ options, err := parseTestArgs([]string{
"--spec", "s.ts", "--spec", "s.ts",