overleaf/services/real-time/test/unit/coffee
Jakob Ackermann 1095851dfe [misc] test/unit: fix typos and assertion of error messages
Sinon does not check the contents of the passed error when checked via
 sinon.stub().calledWith.
```
callback = sinon.stub()
callback(new Error("some message"))
  .calledWith(new Error("completely different message"))
  === true
```

Cherry-pick plus an additional patch for the joinProject bail-out.
(cherry picked from commit d9570fee70701a5f431c39fdbec5f8bc5a7843fe)
2020-05-15 14:46:05 +02:00
..
helpers Listen for updates from doc updater and send them to clients 2014-11-14 15:30:18 +00:00
AuthorizationManagerTests.coffee [misc] test/unit: fix typos and assertion of error messages 2020-05-15 14:46:05 +02:00
ChannelManagerTests.coffee [misc] track redis pub/sub payload sizes on publish 2020-03-30 11:31:44 +02:00
ConnectedUsersManagerTests.coffee minimal fix for undefined connected users 2019-08-16 10:07:30 +01:00
DocumentUpdaterControllerTests.coffee fix unit tests 2019-07-19 08:49:57 +01:00
DocumentUpdaterManagerTests.coffee add metric for pendingUpdates queue 2020-04-07 11:53:54 +01:00
DrainManagerTests.coffee fix unit tests 2019-08-13 17:26:49 +01:00
EventLoggerTests.coffee fix unit tests 2019-04-11 15:07:42 +01:00
RoomManagerTests.coffee ignore spurious requests to leave other docs 2019-07-29 15:19:08 +01:00
SafeJsonParseTest.coffee [misc] SafeJsonParse: align the size limit with the frontend->rt limit 2020-03-24 09:14:15 +01:00
WebApiManagerTests.coffee [misc] test/unit: fix typos and assertion of error messages 2020-05-15 14:46:05 +02:00
WebsocketControllerTests.coffee [misc] test/unit: fix typos and assertion of error messages 2020-05-15 14:46:05 +02:00
WebsocketLoadBalancerTests.coffee Revert "Revert "Track the isRestrictedUser flag on clients"" 2019-10-30 13:52:36 +00:00