overleaf/services/real-time/test/acceptance/coffee
Jakob Ackermann acb7d7df5a [misc] add test cases for the validation of the callback argument
When the user provides a function as last argument for socket.emit,
 socket.io will flag this as an RPC and add a cb as the last argument
 to the client.on('event', ...) handler on the server side.
Without a function as last argument for socket.emit, the callback
 argument on the server side is undefined, leading to invalid function
 calls (`undefined()`) and an unhandled exception.
The user can also provide lots of other arguments, so the 2nd/3rd ...
 argument is of arbitrary type, again leading to invalid function calls
 -- e.g. `1()`.
2020-06-09 16:30:03 +01:00
..
helpers Merge pull request #146 from overleaf/jpa-downgrade-logging 2020-06-09 14:40:59 +02:00
ApplyUpdateTests.coffee [misc] socket.io: use a secondary publicId for public facing usages 2020-06-04 17:18:07 +01:00
ClientTrackingTests.coffee [misc] socket.io: use a secondary publicId for public facing usages 2020-06-04 17:18:07 +01:00
EarlyDisconnect.coffee [misc] stop processing requests as we detect a client disconnect 2020-06-05 11:32:13 +01:00
JoinDocTests.coffee
JoinProjectTests.coffee [misc] socket.io: use a secondary publicId for public facing usages 2020-06-04 17:18:07 +01:00
LeaveDocTests.coffee [misc] downgrade a warning message from clients leaving non-joined rooms 2020-06-05 11:32:43 +01:00
LeaveProjectTests.coffee [misc] socket.io: use a secondary publicId for public facing usages 2020-06-04 17:18:07 +01:00
PubSubRace.coffee [ChannelManager] port related and still mostly valid test from v2 2020-05-15 18:39:33 +02:00
ReceiveUpdateTests.coffee [misc] socket.io: use a secondary publicId for public facing usages 2020-06-04 17:18:07 +01:00
RouterTests.coffee [misc] add test cases for the validation of the callback argument 2020-06-09 16:30:03 +01:00
SessionTests.coffee