riot-web/test/stores
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__
notifications Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
oidc Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
right-panel Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
room-list Move `mediaDevices` mock out of `setupManualMocks` (#11413) 2023-08-16 08:29:34 +00:00
widgets Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
AccountPasswordStore-test.ts
ActiveWidgetStore-test.ts
AutoRageshakeStore-test.ts Switch to importing more things from the main js-sdk export (#11377) 2023-08-10 08:01:14 +00:00
BreadcrumbsStore-test.ts
MemberListStore-test.ts
OwnBeaconStore-test.ts Switch to importing most things from the main matrix-js-sdk export (#11406) 2023-08-15 15:00:17 +00:00
OwnProfileStore-test.ts
RoomNotificationStateStore-test.ts Switch to importing more things from the main js-sdk export (#11377) 2023-08-10 08:01:14 +00:00
RoomViewStore-test.ts Allow knocking rooms (#11353) 2023-08-07 06:27:09 +00:00
SetupEncryptionStore-test.ts 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
SpaceStore-test.ts Switch to importing @types/{event,partials} from main js-sdk export (#11369) 2023-08-08 10:12:12 +00:00
ToastStore-test.ts
TypingStore-test.ts
UserProfilesStore-test.ts
VoiceRecordingStore-test.ts
WidgetLayoutStore-test.ts