You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Add ESLint Jest (#10261)
This commit is contained in:
@ -95,7 +95,7 @@ describe("RelationsHelper", () => {
|
||||
|
||||
expect(() => {
|
||||
new RelationsHelper(event, RelationType.Reference, EventType.RoomMessage, client);
|
||||
}).toThrowError("unable to create RelationsHelper: missing event ID");
|
||||
}).toThrow("unable to create RelationsHelper: missing event ID");
|
||||
});
|
||||
});
|
||||
|
||||
@ -105,7 +105,7 @@ describe("RelationsHelper", () => {
|
||||
|
||||
expect(() => {
|
||||
new RelationsHelper(event, RelationType.Reference, EventType.RoomMessage, client);
|
||||
}).toThrowError("unable to create RelationsHelper: missing room ID");
|
||||
}).toThrow("unable to create RelationsHelper: missing room ID");
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user