added JSVM GeoPointField constructor

This commit is contained in:
Gani Georgiev
2025-04-16 09:12:44 +03:00
parent 33abc0a802
commit 0426722e99
5 changed files with 3545 additions and 3510 deletions

View File

@@ -44,7 +44,7 @@ func TestBaseBindsCount(t *testing.T) {
vm := goja.New()
baseBinds(vm)
testBindsCount(vm, "this", 33, t)
testBindsCount(vm, "this", 34, t)
}
func TestBaseBindsSleep(t *testing.T) {
@@ -399,6 +399,10 @@ func TestBaseBindsNamedFields(t *testing.T) {
"new FileField({name: 'test'})",
isType[*core.FileField],
},
{
"new GeoPointField({name: 'test'})",
isType[*core.GeoPointField],
},
}
for _, s := range scenarios {