mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
test(cmd): drop flaky TestRun_Doctor that launched real Chromium
This commit is contained in:
1 parent
a6f39e3441
commit
f821e9a306
1 file changed
-11
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user