You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
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.
5.2 KiB
5.2 KiB