mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-23 22:40:24 +02:00
added jsvm .* helpers
This commit is contained in:
1 parent
ea4e3128ca
commit
543fb350ec
4 files changed
+5197
-3485
No files matched your search
@@ -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