1
0
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:
Gani Georgiev
2023-07-24 13:59:13 +03:00
parent ea4e3128ca
commit 543fb350ec
4 changed files with 5197 additions and 3485 deletions

View File

@@ -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)
}