feat: wire gui instance start and delete confirmation
This commit is contained in:
@@ -42,3 +42,14 @@ func TestLaunchSpecNormalizeRejectsUnsafeValues(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestLaunchSpecNormalizeAllowsAnEmptyTargetURL(t *testing.T) {
|
||||
profile := filepath.Join(t.TempDir(), "profile")
|
||||
normalized, err := (LaunchSpec{Kind: BrowserChrome, UserDataDir: profile}).Normalize()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if normalized.TargetURL != "" {
|
||||
t.Fatalf("target URL = %q, want empty", normalized.TargetURL)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user