MCPcopy
hub / github.com/pocketbase/pocketbase / registerEventCall

Method registerEventCall

tests/app.go:60–69  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

58}
59
60func (t *TestApp) registerEventCall(name string) {
61 t.mux.Lock()
62 defer t.mux.Unlock()
63
64 if t.EventCalls == nil {
65 t.EventCalls = make(map[string]int)
66 }
67
68 t.EventCalls[name]++
69}
70
71// NewTestApp creates and initializes a test application instance.
72//

Callers 1

NewTestAppWithConfigFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected