MCPcopy Index your code
hub / github.com/pocketbase/pocketbase / TestChannel

Function TestChannel

tools/subscriptions/client_test.go:53–59  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

51}
52
53func TestChannel(t *testing.T) {
54 c := subscriptions.NewDefaultClient()
55
56 if c.Channel() == nil {
57 t.Fatalf("Expected channel to be initialized, got")
58 }
59}
60
61func TestSubscriptions(t *testing.T) {
62 c := subscriptions.NewDefaultClient()

Callers

nothing calls this directly

Calls 2

ChannelMethod · 0.95
NewDefaultClientFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…