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:
committed by
GitHub
parent
21e9d93e69
commit
31af8b07dd
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user