riot-web/test/stores/room-list
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
..
algorithms Move `mediaDevices` mock out of `setupManualMocks` (#11413) 2023-08-16 08:29:34 +00:00
filters Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
previews Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* (#10988) 2023-06-15 15:11:49 +01:00
utils Sort muted rooms to the bottom of their section of the room list (#10592) 2023-05-05 01:53:26 +00:00
MessagePreviewStore-test.ts Conform more of the codebase to `strictNullChecks` (#11100) 2023-06-22 14:39:36 +01:00
RoomListStore-test.ts Eliminate the use of MatrixClientPeg in utils (#10910) 2023-05-23 16:24:12 +01:00
SlidingRoomListStore-test.ts Conform more of the codebase to strict typing (#11195) 2023-07-07 09:02:13 +01:00
SpaceWatcher-test.ts Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00