mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-20 04:54:07 +02:00
added bindings
This commit is contained in:
1 parent
543fb350ec
commit
70151a3c19
5 files changed
+4045
-3581
No files matched your search
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user