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

Function mockPullRequestUpdateApiActors

pkg/cmd/pr/edit/edit_test.go:1883–1890  ·  view source on GitHub ↗
(reg *httpmock.Registry)

Source from the content-addressed store, hash-verified

1881}
1882
1883func mockPullRequestUpdateApiActors(reg *httpmock.Registry) {
1884 reg.Register(
1885 httpmock.GraphQL(`mutation ReplaceActorsForAssignable\b`),
1886 httpmock.GraphQLMutation(`
1887 { "data": { "replaceActorsForAssignable": { "__typename": "" } } }`,
1888 func(inputs map[string]any) {}),
1889 )
1890}
1891
1892func mockPullRequestAddReviewers(reg *httpmock.Registry) {
1893 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