1095851dfe00cc725665fb44e1c8c84810c8240f
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)
Description
Languages
JavaScript
62.6%
TypeScript
29.5%
SCSS
2.9%
Java
2.1%
Pug
0.8%
Other
1.9%