Upgrade compound-web (#12234)
* Upgrade compound-web I forgot to include this in https://github.com/matrix-org/matrix-react-sdk/pull/12209, which has caused avatar and username colors to be out of sync and sometimes revert to plain black/white. * Update tests * Update tests
This commit is contained in:
parent
a4987060b7
commit
b422641258
33 changed files with 173 additions and 183 deletions
|
@ -39,7 +39,7 @@ describe("<Marker />", () => {
|
|||
it("uses member color class", () => {
|
||||
const member = new RoomMember("!room:server", "@user:server");
|
||||
const { container } = getComponent({ useMemberColor: true, roomMember: member });
|
||||
expect(container.querySelector(".mx_Marker.mx_Username_color1")).toBeInTheDocument();
|
||||
expect(container.querySelector(".mx_Marker.mx_Username_color3")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("renders member avatar when roomMember is truthy", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue