MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / newTestAPI

Function newTestAPI

internal/nodeagent/dispatch_test.go:39–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37func (s *stubManager) RemoveUser(context.Context, string, string) error { return nil }
38
39func newTestAPI() *nodeapi.API {
40 return nodeapi.New(&stubManager{})
41}
42
43func TestAPIDispatcher_StatusAndConfig(t *testing.T) {
44 t.Parallel()

Calls 1

NewFunction · 0.92

Tested by

no test coverage detected