This commit is contained in:
npc0-hue
2026-08-26 09:56:43 +08:00
parent 2b4974b561
commit 8e02a316fa
93 changed files with 21749 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
package runtime
import (
"testing"
"browser.local/run/config"
)
func TestSmokeSummaryDoesNotExposeHostPaths(t *testing.T) {
summary := SmokeSummary(config.Config{
Mode: "smoke",
PlatformURL: "http://platform.test",
})
if summary.Status != "ok" {
t.Fatalf("expected ok status, got %q", summary.Status)
}
if summary.ExposedHostPath {
t.Fatal("smoke summary must not expose host paths")
}
if len(summary.Capabilities) == 0 {
t.Fatal("expected baseline capabilities")
}
}