Remove buggy tooltip on room intro & homepage (#29406)

* Remove buggy tooltip on room intro & homepage

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add knip ignore

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2025-03-04 13:24:38 +00:00
committed by GitHub
parent 21e9d93e69
commit 31af8b07dd
3 changed files with 19 additions and 31 deletions

View File

@@ -26,12 +26,12 @@ describe("<MiniAvatarUploader />", () => {
const setAvatarUrl = jest.fn();
const user = userEvent.setup();
const { container, findByText } = render(
const { container, findByLabelText } = render(
<MiniAvatarUploader hasAvatar={false} noAvatarLabel="Upload" setAvatarUrl={setAvatarUrl} isUserAvatar />,
withClientContextRenderOptions(cli),
);
await findByText("Upload");
await findByLabelText("Upload");
await user.upload(container.querySelector("input")!, AVATAR_FILE);
expect(cli.uploadContent).toHaveBeenCalledWith(AVATAR_FILE);