You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-07-30 04:23:07 +03:00
Improve MatrixError message (#2749)
This commit is contained in:
committed by
GitHub
parent
cc025ea458
commit
bbece73346
@ -121,7 +121,7 @@ describe("MatrixClient", function() {
|
||||
}, function(error) {
|
||||
expect(error.httpStatus).toEqual(400);
|
||||
expect(error.errcode).toEqual("M_SNAFU");
|
||||
expect(error.message).toEqual("broken");
|
||||
expect(error.message).toEqual("MatrixError: [400] broken");
|
||||
});
|
||||
|
||||
httpBackend!.flush('');
|
||||
|
Reference in New Issue
Block a user