mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-07 07:42:45 +01:00
Release catalyst
This commit is contained in:
21
ui/ui_test.go
Normal file
21
ui/ui_test.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package ui
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestUI(t *testing.T) {
|
||||
requiredFiles := []string{
|
||||
"dist/index.html",
|
||||
"dist/favicon.ico",
|
||||
"dist/manifest.json",
|
||||
"dist/img",
|
||||
}
|
||||
for _, requiredFile := range requiredFiles {
|
||||
t.Run("Require "+requiredFile, func(t *testing.T) {
|
||||
f, err := UI.Open(requiredFile)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer f.Close()
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user