fixed test issues

This commit is contained in:
2025-12-27 22:11:23 +08:00
parent fb946f557f
commit 3134737c11
3 changed files with 16 additions and 1 deletions

View File

@@ -276,6 +276,8 @@ describe('StateGateway', () => {
const mockClient: MockSocket = {
id: 'client1',
data: {}, // Missing user data
handshake: {},
emit: jest.fn(),
disconnect: jest.fn(),
};