package main import "testing" func TestViteIndexHasEntrypoint(t *testing.T) { t.Parallel() tests := []struct { name string html string want bool }{ { name: "vite dist index", html: `
`, want: true, }, { name: "vite dist index with src before type and single quotes", html: ``, want: true, }, { name: "vite dist index with spaced attribute assignment", html: ``, want: true, }, { name: "fallback shell has no app entrypoint", html: `