MCPcopy Index your code
hub / github.com/github/github-mcp-server / getE2EHost

Function getE2EHost

e2e/e2e_test.go:57–62  ·  view source on GitHub ↗

getE2EHost ensures the environment variable is checked only once and returns the host

()

Source from the content-addressed store, hash-verified

55
56// getE2EHost ensures the environment variable is checked only once and returns the host
57func getE2EHost() string {
58 getHostOnce.Do(func() {
59 host = os.Getenv("GITHUB_MCP_SERVER_E2E_HOST")
60 })
61 return host
62}
63
64func getRESTClient(t *testing.T) *gogithub.Client {
65 // Get token and ensure Docker image is built

Callers 4

getRESTClientFunction · 0.85
setupMCPClientFunction · 0.85
TestRequestCopilotReviewFunction · 0.85
TestAssignCopilotToIssueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected