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

Method recorded

pkg/cmd/issue/edit/edit_test.go:1830–1834  ·  view source on GitHub ↗

recorded returns every query seen so far, joined for substring matching.

()

Source from the content-addressed store, hash-verified

1828
1829// recorded returns every query seen so far, joined for substring matching.
1830func (g *graphQLRecorder) recorded() string {
1831 g.mu.Lock()
1832 defer g.mu.Unlock()
1833 return strings.Join(g.queries, "\n")
1834}
1835
1836func mockIssueGet(_ *testing.T, reg *httpmock.Registry) {
1837 mockIssueNumberGet(nil, reg, 123)

Callers 1

Test_editRunFunction · 0.95

Calls 1

JoinMethod · 0.80

Tested by

no test coverage detected