Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anchordotdev/cli
/ TestMain
Function
TestMain
component/component_test.go:16–24 ·
view source on GitHub ↗
(m *testing.M)
Source
from the content-addressed store, hash-verified
14
}
15
16
func
TestMain(m *testing.M) {
17
if
err := srv.Start(context.Background()); err != nil {
18
panic(err)
19
}
20
21
defer
os.Exit(m.Run())
22
23
srv.Close()
24
}
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