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

Function TestAPI

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

Source from the content-addressed store, hash-verified

33}
34
35func TestAPI(t *testing.T) {
36 var tsEnv testScriptEnv
37 if err := tsEnv.fromEnv(); err != nil {
38 t.Fatal(err)
39 }
40
41 testscript.Run(t, testScriptParamsFor(tsEnv, "api"))
42}
43
44func TestAuth(t *testing.T) {
45 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