element-web/test/components/views/rooms
Richard van der Hoff 3fda0299a5
Move mediaDevices mock out of setupManualMocks (#11413)
* Move `mediaDevices` mock out of `setupManualMocks`

This doesn't work well in test suites with multiple tests, because the
`mockReturnValue` is reset for subsequent tests.

In any case, having it mocked out automagically is *magical*. Let's make it
opt-in.

* clarify ts-ignore
2023-08-16 08:29:34 +00:00
..
__snapshots__ Allow knocking rooms (#11353) 2023-08-07 06:27:09 +00:00
EventTile Switch to importing matrix-js-sdk from its main export (#11360) 2023-08-03 12:56:30 +00:00
NotificationBadge Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
wysiwyg_composer Switch to importing matrix-js-sdk from its main export (#11360) 2023-08-03 12:56:30 +00:00
BasicMessageComposer-test.tsx Make keyboard handling in and out of autocomplete completions consistent (#11344) 2023-08-01 09:06:37 +00:00
EditMessageComposer-test.tsx Stabilize support for MSC3952: intentional mentions (#10967) 2023-07-11 22:29:54 +00:00
EventTile-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
ExtraTile-test.tsx Refactor ExtraTile to use functional components (#10191) 2023-02-23 11:57:37 +00:00
LegacyRoomHeader-test.tsx Switch to importing more things from the main js-sdk export (#11377) 2023-08-10 08:01:14 +00:00
MemberList-test.tsx Switch to importing models/{event-timeline{,set},user,device,event-status} from main js-sdk export (#11368) 2023-08-08 07:16:04 +00:00
MessageComposer-test.tsx Switch to importing more things from the main js-sdk export (#11394) 2023-08-14 08:58:55 +00:00
MessageComposerButtons-test.tsx Replace some enzyme tests by @testing-library/react (#9822) 2022-12-23 10:46:14 +00:00
NewRoomIntro-test.tsx Eliminate the use of MatrixClientPeg in utils (#10910) 2023-05-23 16:24:12 +01:00
PinnedEventTile-test.tsx Apply strictNullChecks to src/components/views/rooms/* (#10875) 2023-05-21 23:53:23 +00:00
ReadReceiptGroup-test.tsx Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
RoomHeader-test.tsx Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
RoomList-test.tsx Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
RoomListHeader-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
RoomPreviewBar-test.tsx Allow knocking rooms (#11353) 2023-08-07 06:27:09 +00:00
RoomPreviewCard-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
RoomTile-test.tsx Move mediaDevices mock out of setupManualMocks (#11413) 2023-08-16 08:29:34 +00:00
SearchBar-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
SearchResultTile-test.tsx Switch to importing @types/{event,partials} from main js-sdk export (#11369) 2023-08-08 10:12:12 +00:00
SendMessageComposer-test.tsx Allow knocking rooms (#11353) 2023-08-07 06:27:09 +00:00
ThirdPartyMemberInfo-test.tsx Apply strictNullChecks to src/components/views/rooms/* (#10875) 2023-05-21 23:53:23 +00:00
VoiceRecordComposerTile-test.tsx Stabilize support for MSC3952: intentional mentions (#10967) 2023-07-11 22:29:54 +00:00