element-web/test/unit-tests/components/views/settings
Michael Telatynski 9b316e8e7f
Check that the file the user chose has a MIME type of image/* (#28467)
* Check that the file the user chose has a MIME type of `image/*`

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

* i18n

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

* Optional

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

* Improve coverage

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

* DRY

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

* Iterate

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

* Improve coverage

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

* Update src/components/views/settings/AvatarSetting.tsx

Co-authored-by: Florian Duros <florianduros@element.io>

* prettier

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Florian Duros <florianduros@element.io>
2024-11-18 10:30:31 +00:00
..
__snapshots__ Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
devices Deduplicate icons using Compound Design Tokens (#28419) 2024-11-11 17:27:22 +00:00
discovery Avoid double exports 2024-11-05 18:36:26 +00:00
notifications Deduplicate more icons using Compound Design Tokens (#132) 2024-10-16 09:42:03 +01:00
shared Avoid double exports 2024-11-05 18:36:26 +00:00
tabs Standardise icons using Compound Design Tokens (#28286) 2024-11-14 12:34:27 +00:00
AddPrivilegedUsers-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
AddRemoveThreepids-test.tsx Use React Suspense when rendering async modals (#28386) 2024-11-12 21:19:11 +00:00
AvatarSetting-test.tsx Check that the file the user chose has a MIME type of image/* (#28467) 2024-11-18 10:30:31 +00:00
ChangePassword-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
CrossSigningPanel-test.tsx First batch: remove deprecated calls on MatrixClient (#28207) 2024-10-21 12:53:39 +01:00
CryptographyPanel-test.tsx Use React Suspense when rendering async modals (#28386) 2024-11-12 21:19:11 +00:00
EventIndexPanel-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
FontScalingPanel-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
JoinRuleSettings-test.tsx Switch secondary React trees to the createRoot API (#28296) 2024-11-06 12:44:54 +00:00
KeyboardShortcut-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
LayoutSwitcher-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
Notifications-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
PowerLevelSelector-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
SecureBackupPanel-test.tsx Switch secondary React trees to the createRoot API (#28296) 2024-11-06 12:44:54 +00:00
SetIntegrationManager-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
SettingsFieldset-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
ThemeChoicePanel-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
UserProfileSettings-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00