test: make some tests more reliable

This commit is contained in:
littensy 2025-11-15 20:41:38 -08:00
parent ed9566bfff
commit e583574751
3 changed files with 2 additions and 4 deletions

View file

@ -7,7 +7,7 @@
"publish:npm": "pnpm publish -r --access public",
"publish:wally": "pnpm -r --workspace-concurrency 1 publish:wally"
},
"packageManager": "pnpm@10.17.1",
"packageManager": "pnpm@10.22.0",
"devDependencies": {
"@eslint/js": "^9.36.0",
"@rbxts/compiler-types": "3.0.0-types.0",

View file

@ -63,7 +63,6 @@ end
---
--- @param payloads The state updates received from the server.
local function patch(payloads: { SyncPayload })
debug.profilebegin("CharmSync")
for _, payload in payloads do
if payload.type == "init" then
Charm.batch(applyInitPayload, payload.data)
@ -71,7 +70,6 @@ local function patch(payloads: { SyncPayload })
Charm.batch(applyPatchPayload, payload.data)
end
end
debug.profileend()
end
return {

View file

@ -14,7 +14,7 @@ end
--- Triggers garbage collection by creating a large number of tables.
local function gc()
for _ = 1, 1000 do
for _ = 1, 2000 do
local _ = table.create(100, 0)
end
end