Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ initFakeHTTP
Function
initFakeHTTP
pkg/cmd/pr/status/status_test.go:89–91 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
87
}
88
89
func
initFakeHTTP() *httpmock.Registry {
90
return
&httpmock.Registry{}
91
}
92
93
func
TestPRStatus(t *testing.T) {
94
http := initFakeHTTP()
Callers
14
TestPRStatus
Function · 0.70
TestPRStatus_reviewsAndChecks
Function · 0.70
TestPRStatus_reviewsAndChecksWithStatesByCount
Function · 0.70
TestPRStatus_currentBranch_showTheMostRecentPR
Function · 0.70
TestPRStatus_currentBranch_defaultBranch
Function · 0.70
TestPRStatus_currentBranch_defaultBranch_repoFlag
Function · 0.70
TestPRStatus_currentBranch_Closed
Function · 0.70
TestPRStatus_currentBranch_Closed_defaultBranch
Function · 0.70
TestPRStatus_currentBranch_Merged
Function · 0.70
TestPRStatus_currentBranch_Merged_defaultBranch
Function · 0.70
TestPRStatus_blankSlate
Function · 0.70
TestPRStatus_blankSlateRepoOverride
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…