MCPcopy Create free account
hub / github.com/anchordotdev/cli / TestMain

Function TestMain

org/org_test.go:17–25  ·  view source on GitHub ↗
(m *testing.M)

Source from the content-addressed store, hash-verified

15}
16
17func TestMain(m *testing.M) {
18 if err := srv.Start(context.Background()); err != nil {
19 panic(err)
20 }
21
22 defer os.Exit(m.Run())
23
24 srv.Close()
25}

Callers

nothing calls this directly

Calls 3

RunMethod · 0.65
StartMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected