MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / withCustomStorer

Function withCustomStorer

backend/pkg/httpserver/test_utils_test.go:119–123  ·  view source on GitHub ↗

Helper options to set specialized mocks if needed in tests

(s WPTMetricsStorer)

Source from the content-addressed store, hash-verified

117 vcsPermissionChecker: nil,
118 }
119
120 // Apply Functional Options to override defaults
121 for _, option := range options {
122 option(srv)
123 }
124
125 return srv
126}

Calls

no outgoing calls

Tested by

no test coverage detected