refactor: improve setup and maintainability (#1067)

This commit is contained in:
Jonas Plum
2024-07-08 00:16:37 +02:00
committed by GitHub
parent f5fcee0096
commit 619c5c65ce
553 changed files with 11271 additions and 91670 deletions

View File

@@ -1,29 +0,0 @@
package ui
import "testing"
func TestUI(t *testing.T) {
t.Parallel()
tests := []struct {
name string
path string
}{
{"index.html", "dist/index.html"},
{"favicon.ico", "dist/favicon.ico"},
{"manifest.json", "dist/manifest.json"},
{"img", "dist/img"},
}
for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) {
t.Parallel()
f, err := UI.Open(tt.path)
if err != nil {
t.Fatal(err)
}
defer f.Close()
})
}
}