MCPcopy Index your code
hub / github.com/cli/cli / mockIssueUpdate

Function mockIssueUpdate

pkg/cmd/issue/edit/edit_test.go:1416–1423  ·  view source on GitHub ↗
(t *testing.T, reg *httpmock.Registry)

Source from the content-addressed store, hash-verified

1414}
1415
1416func mockIssueUpdate(t *testing.T, reg *httpmock.Registry) {
1417 reg.Register(
1418 httpmock.GraphQL(`mutation IssueUpdate\b`),
1419 httpmock.GraphQLMutation(`
1420 { "data": { "updateIssue": { "__typename": "" } } }`,
1421 func(inputs map[string]interface{}) {}),
1422 )
1423}
1424
1425func mockIssueUpdateApiActors(t *testing.T, reg *httpmock.Registry) {
1426 reg.Register(

Callers 1

Test_editRunFunction · 0.85

Calls 3

GraphQLFunction · 0.92
GraphQLMutationFunction · 0.92
RegisterMethod · 0.45

Tested by

no test coverage detected