Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
17
func
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
Run
Method · 0.65
Start
Method · 0.45
Close
Method · 0.45
Tested by
no test coverage detected