Fix buttons of widget in a room (#12288)
* Revert 3acd648
- Fix timeline position when moving to a room and coming back
* Fix initialEventId
This commit is contained in:
parent
28f7aac9a5
commit
494d9de6f0
5 changed files with 35 additions and 14 deletions
|
@ -711,4 +711,10 @@ describe("RoomView", () => {
|
|||
|
||||
await expect(prom).resolves.toEqual(expect.objectContaining({ room_id: room2.roomId }));
|
||||
});
|
||||
|
||||
it("fires Action.RoomLoaded", async () => {
|
||||
jest.spyOn(dis, "dispatch");
|
||||
await mountRoomView();
|
||||
expect(dis.dispatch).toHaveBeenCalledWith({ action: Action.RoomLoaded });
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue