overleaf/services/real-time/test/acceptance
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
..
coffee [misc] add test cases for the validation of the callback argument 2020-06-09 16:30:03 +01:00
libs Create framework for real-time API with session authentication 2014-11-07 17:38:12 +00:00
scripts Don't npm rebuild inside container 2017-02-20 10:14:41 +00:00