mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-13 09:38:15 +02:00
[#6481] allowed calling cronAdd and cronRemove from inside other JSVM handlers
This commit is contained in:
1 parent
4e148f7224
commit
33613b27b0
3 files changed
+16
-16
No files matched your search
@@ -1438,7 +1438,7 @@ func TestCronBindsCount(t *testing.T) {
|
||||
testBindsCount(vm, "this", 2, t)
|
||||
|
||||
pool.run(func(poolVM *goja.Runtime) error {
|
||||
testBindsCount(poolVM, "this", 1, t)
|
||||
testBindsCount(poolVM, "this", 2, t)
|
||||
return nil
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user