Update runtime connection count integration assertion

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo-H
2026-07-13 05:25:11 -04:00
co-authored by Orca
parent ce8abcddd4
commit 106d8e123e
@@ -478,9 +478,7 @@ describe('remote runtime request connection integration', () => {
REMOTE_RUNTIME_REQUEST_TIMEOUT_MS,
() => `cleanup count ${subscriptionCleanups.size}, event count ${mixedEvents.length}`
)
expect(
(server as unknown as { wsConnectionIds: Map<unknown, unknown> }).wsConnectionIds.size
).toBe(1)
expect(server.getMobileSocketWiring()?.connectionCount).toBe(1)
for (const mixed of mixedSubscriptions) {
mixed.close()
}
@@ -500,9 +498,7 @@ describe('remote runtime request connection integration', () => {
)
)
)
expect(
(server as unknown as { wsConnectionIds: Map<unknown, unknown> }).wsConnectionIds.size
).toBe(1)
expect(server.getMobileSocketWiring()?.connectionCount).toBe(1)
for (const extra of extraSubscriptions) {
extra.close()
}