Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ initFakeHTTP
Function
initFakeHTTP
pkg/cmd/pr/list/list_test.go:73–75 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
71
}
72
73
func
initFakeHTTP() *httpmock.Registry {
74
return
&httpmock.Registry{}
75
}
76
77
func
TestPRList(t *testing.T) {
78
http := initFakeHTTP()
Callers
11
TestPRList
Function · 0.70
TestPRList_nontty
Function · 0.70
TestPRList_filtering
Function · 0.70
TestPRList_filteringRemoveDuplicate
Function · 0.70
TestPRList_filteringClosed
Function · 0.70
TestPRList_filteringHeadBranch
Function · 0.70
TestPRList_filteringAssignee
Function · 0.70
TestPRList_filteringDraft
Function · 0.70
TestPRList_filteringAuthor
Function · 0.70
TestPRList_withInvalidLimitFlag
Function · 0.70
TestPRList_web
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected