A web-based collaborative LaTeX editor
Find a file
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
services/real-time [misc] WebsocketControllerTests: explicitly pass a cb to leaveProject 2020-06-29 17:38:22 +01:00