overleaf/services/real-time
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
..
.github
app/coffee Merge pull request #135 from overleaf/jpa-skip-leave-project-for-invalid-clients 2020-05-13 15:34:41 +02:00
config
test [misc] test/unit: fix typos and assertion of error messages 2020-05-15 14:46:05 +02:00
.dockerignore
.gitignore
.nvmrc
app.coffee
buildscript.txt
docker-compose.ci.yml
docker-compose.yml
Dockerfile
Jenkinsfile
Makefile
nodemon.json
package-lock.json [misc] bump sinon to 2.x for promise support with stubs 2020-05-15 12:01:22 +02:00
package.json [misc] bump sinon to 2.x for promise support with stubs 2020-05-15 12:01:22 +02:00
socket.io.patch.js