Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ initFakeHTTP
Function
initFakeHTTP
pkg/cmd/pr/merge/merge_test.go:311–313 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
309
}
310
311
func
initFakeHTTP() *httpmock.Registry {
312
return
&httpmock.Registry{}
313
}
314
315
func
TestPrMerge(t *testing.T) {
316
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