MCPcopy Create free account
hub / github.com/cli/cli / RoundTrip

Method RoundTrip

pkg/cmd/project/shared/queries/queries_test.go:18–20  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

16type roundTripperFunc func(*http.Request) (*http.Response, error)
17
18func (f roundTripperFunc) RoundTrip(req *http.Request) (*http.Response, error) {
19 return f(req)
20}
21
22func TestProjectMutationQuery_DoesNotRequireQueryVariable(t *testing.T) {
23 ios, _, _, _ := iostreams.Test()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected