You've already forked pocketbase
mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-11-26 16:12:13 +02:00
added jsvm .* helpers
This commit is contained in:
@@ -1228,3 +1228,13 @@ func TestRouterBinds(t *testing.T) {
|
||||
t.Fatalf("Expected PreCount %d, got %d", 1, result.PreCount)
|
||||
}
|
||||
}
|
||||
|
||||
func TestOsBindsCount(t *testing.T) {
|
||||
app, _ := tests.NewTestApp()
|
||||
defer app.Cleanup()
|
||||
|
||||
vm := goja.New()
|
||||
osBinds(vm)
|
||||
|
||||
testBindsCount(vm, "$os", 15, t)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user