element-web/test/unit-tests/components/views
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
..
audio_messages Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
auth Flatten Vector-override components (#28346) 2024-11-05 15:41:00 +00:00
avatars Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
beacon Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
beta Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
context_menus Start sending stable m.marked_unread events (#28478) 2024-11-18 10:25:36 +00:00
dialogs Update dependency @vector-im/compound-design-tokens to v1.9.1 (#28438) 2024-11-13 11:08:25 +00:00
elements Check that the file the user chose has a MIME type of image/* (#28467) 2024-11-18 10:30:31 +00:00
emojipicker Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
location Update dependency @vector-im/compound-design-tokens to v1.9.1 (#28438) 2024-11-13 11:08:25 +00:00
messages Merge branch 'master' into develop 2024-11-12 09:46:03 +00:00
polls/pollHistory Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
right_panel Replace MatrixClient.isRoomEncrypted by MatrixClient.CryptoApi.isEncryptionEnabledInRoom in useIsEncrypted (#28282) 2024-11-13 10:32:35 +00:00
room_settings Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
rooms Remove reply fallbacks as per merged MSC2781 (#28406) 2024-11-13 14:11:20 +00:00
settings Check that the file the user chose has a MIME type of image/* (#28467) 2024-11-18 10:30:31 +00:00
spaces Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
toasts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
typography Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
user-onboarding Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
voip Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
Validation-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
VerificationShowSas-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00