overleaf/services/real-time/test
Jakob Ackermann 4d01c02946 [misc] WebsocketControllerTests: explicitly pass a cb to leaveProject
...and fix the stubbing of `io.sockets.clients`.

We were running the assertions prior to the actual completion of the
 leaveProject. Which in turn shadowed the broken test setup --
 `io.sockets.clients()` was returning the `this.clientsInRoom=[]` from a
 previous context.
2020-06-29 17:38:22 +01:00
..
acceptance [misc] fix eslint errors in XMLHttpRequest.js 2020-06-24 10:52:37 +01:00
unit/js [misc] WebsocketControllerTests: explicitly pass a cb to leaveProject 2020-06-29 17:38:22 +01:00