1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-11-24 07:04:51 +02:00

added bindings

This commit is contained in:
Gani Georgiev
2023-07-24 16:39:11 +03:00
parent 543fb350ec
commit 70151a3c19
5 changed files with 4045 additions and 3581 deletions

View File

@@ -1229,6 +1229,16 @@ func TestRouterBinds(t *testing.T) {
}
}
func TestFilepathBindsCount(t *testing.T) {
app, _ := tests.NewTestApp()
defer app.Cleanup()
vm := goja.New()
filepathBinds(vm)
testBindsCount(vm, "$filepath", 15, t)
}
func TestOsBindsCount(t *testing.T) {
app, _ := tests.NewTestApp()
defer app.Cleanup()
@@ -1236,5 +1246,5 @@ func TestOsBindsCount(t *testing.T) {
vm := goja.New()
osBinds(vm)
testBindsCount(vm, "$os", 15, t)
testBindsCount(vm, "$os", 16, t)
}