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

Function testUploader

internal/attachments/attach_test.go:26–32  ·  view source on GitHub ↗
(reg *httpmock.Registry)

Source from the content-addressed store, hash-verified

24}
25
26func testUploader(reg *httpmock.Registry) *Uploader {
27 return &Uploader{
28 httpClient: &http.Client{Transport: reg},
29 host: "github.com",
30 targetRepository: 1234,
31 }
32}
33
34func TestUploaderUploadAndAttach(t *testing.T) {
35 // Each upload response is consumed in the order the assets were

Calls

no outgoing calls

Tested by

no test coverage detected