element-web-Github/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__ Provide a more detailed error message than "No known servers" (#6048) 2023-02-24 15:59:30 +00:00
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 Do not prompt for a password when doing a „reset all“ after login (#10208) 2023-02-23 08:46:49 +01:00
ActiveWidgetStore-test.ts Fix infinite loop when pinning/unpinning persistent widgets (#8396) 2022-04-25 08:29:54 -04:00
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 Remove new room breadcrumbs (#11104) 2023-06-19 08:18:46 +00:00
MemberListStore-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
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 Handle own profile 404 (#11319) 2023-07-26 09:54:45 +00:00
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 test toastStore (#9823) 2022-12-23 09:35:41 +00:00
TypingStore-test.ts 🧵 Enable threads by default (#9736) 2022-12-13 15:09:15 +00:00
UserProfilesStore-test.ts Check profiles before starting a DM (#10472) 2023-04-05 13:13:51 +02:00
VoiceRecordingStore-test.ts Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
WidgetLayoutStore-test.ts Support dynamic room predecessors in WidgetLayoutStore (#10326) 2023-03-09 10:18:23 +00:00