mirror of
https://github.com/littensy/charm.git
synced 2026-10-21 03:36:11 +00:00
test: make some tests more reliable
This commit is contained in:
parent
ed9566bfff
commit
e583574751
3 changed files with 2 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue