MCPcopy Create free account
hub / github.com/compozy/agh / mustStaticFS

Function mustStaticFS

internal/api/httpapi/helpers_test.go:630–639  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

628}
629
630func mustStaticFS(t *testing.T) fs.FS {
631 t.Helper()
632
633 staticFS, err := newStaticFS()
634 if err != nil {
635 t.Fatalf("newStaticFS() error = %v", err)
636 }
637
638 return staticFS.fs
639}
640
641func newTestHomePaths(t *testing.T) aghconfig.HomePaths {
642 t.Helper()

Calls 1

newStaticFSFunction · 0.85

Tested by

no test coverage detected