1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

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:
Robin
2024-02-07 12:26:05 -05:00
committed by GitHub
parent a4987060b7
commit b422641258
33 changed files with 173 additions and 183 deletions

View File

@ -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", () => {