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

Function TestAPI

acceptance/acceptance_test.go:70–77  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

68}
69
70func TestAPI(t *testing.T) {
71 var tsEnv testScriptEnv
72 if err := tsEnv.fromEnv(); err != nil {
73 t.Fatal(err)
74 }
75
76 testscript.Run(t, testScriptParamsFor(tsEnv, "api"))
77}
78
79func TestAuth(t *testing.T) {
80 var tsEnv testScriptEnv

Callers

nothing calls this directly

Calls 3

fromEnvMethod · 0.95
testScriptParamsForFunction · 0.85
RunMethod · 0.65

Tested by

no test coverage detected