Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ initFakeHTTP
Function
initFakeHTTP
pkg/cmd/pr/merge/merge_test.go:303–305 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
301
}
302
303
func
initFakeHTTP() *httpmock.Registry {
304
return
&httpmock.Registry{}
305
}
306
307
func
TestPrMerge(t *testing.T) {
308
http := initFakeHTTP()
Callers
15
TestPrMerge
Function · 0.70
TestPrMerge_blocked
Function · 0.70
TestPrMerge_dirty
Function · 0.70
TestPrMerge_nontty
Function · 0.70
TestPrMerge_editMessage_nontty
Function · 0.70
TestPrMerge_withRepoFlag
Function · 0.70
TestPrMerge_withMatchCommitHeadFlag
Function · 0.70
TestPrMerge_withAuthorFlag
Function · 0.70
TestPrMerge_deleteBranch
Function · 0.70
TestPrMerge_deleteBranch_apiError
Function · 0.70
TestPrMerge_deleteBranch_mergeQueue
Function · 0.70
TestPrMerge_deleteBranch_nonDefault
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected