chore: linting

This commit is contained in:
Bill Church 2024-12-17 12:30:21 +00:00
parent dc85964e96
commit ab208e3e37
No known key found for this signature in database

View file

@ -16,8 +16,8 @@ describe('Socket Handler', () => {
mockSocket.id = 'test-socket-id'
mockSocket.handshake = {
session: {
save: mock.fn((cb) => cb())
}
save: mock.fn((cb) => cb()),
},
}
mockSocket.emit = mock.fn()
mockSocket.disconnect = mock.fn()
@ -28,14 +28,14 @@ describe('Socket Handler', () => {
term: 'xterm-color',
readyTimeout: 20000,
keepaliveInterval: 120000,
keepaliveCountMax: 10
keepaliveCountMax: 10,
},
options: {
allowReauth: true,
allowReplay: true,
allowReconnect: true
allowReconnect: true,
},
user: {}
user: {},
}
// Initialize socket handler
@ -55,7 +55,7 @@ describe('Socket Handler', () => {
// Verify socket emits authentication request when no basic auth
assert.equal(mockSocket.emit.mock.calls[0].arguments[0], 'authentication')
assert.deepEqual(mockSocket.emit.mock.calls[0].arguments[1], {
action: 'request_auth'
action: 'request_auth',
})
})
})