- Add generics to ExpectedRequest.respond
- Add more types
- Convert to typescript
- Convert away from
Promise.defer
. - Pass the whole request object to response handlers.
- Add stop() method returning a promise that resolves when all flushes are complete.
- Bump default timeout on
flushAllExpected
to 1000ms.
- Allow specification of a timeout on
flushAllExpected
.
- Give a sensible rejection from
flushAllExpected
when there are no expectations (previously it would throw an obscure exception).
- Add
flushAllExpected
. - Wait for longer in
flush
when anumToFlush
is specified. - Try to avoid throwing exceptions from
setTimeout
(and reject the returned promise instead). - Switch to bluebird instead of q.
- Changes required for matrix-org/matrix-js-sdk#479: js-sdk now does its own JSON encoding/parsing, so in order to keep the tests working we need to reverse that process.
- Fix missing /lib in published package.
- Transpile for ES5.
- Import changes from riot-web.
- Initial release, factored out from matrix-js-sdk.