added bindings

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

No files matched your search

+11 -1
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)
}