MCPcopy
hub / github.com/pocketbase/pocketbase / TestRouterBindsCount

Function TestRouterBindsCount

plugins/jsvm/binds_test.go:1748–1756  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1746}
1747
1748func TestRouterBindsCount(t *testing.T) {
1749 app, _ := tests.NewTestApp()
1750 defer app.Cleanup()
1751
1752 vm := goja.New()
1753 routerBinds(app, vm, nil)
1754
1755 testBindsCount(vm, "this", 2, t)
1756}
1757
1758func TestRouterBinds(t *testing.T) {
1759 app, _ := tests.NewTestApp()

Callers

nothing calls this directly

Calls 4

CleanupMethod · 0.95
NewTestAppFunction · 0.92
routerBindsFunction · 0.85
testBindsCountFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…