1
0
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:
Michael Telatynski
2022-10-13 09:07:15 +01:00
committed by GitHub
parent cc025ea458
commit bbece73346
3 changed files with 15 additions and 5 deletions

View File

@ -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('');