matrix-react-sdk
7e6ea192 - Build our own stub MatrixClient for the tests

Commit
9 years ago
Build our own stub MatrixClient for the tests It turns out that a bunch of things rely on MatrixClient methods to return promises rather than undefined. Rather than having to undo half the work done by sinon.createStubInstance, just build our own object with as many methods as we need stubbed out.
Author
Parents
Loading