element-web-Github/test/components/structures
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__ Clean up the MatrixChat initSession code (#11403) 2023-08-14 12:52:08 +00:00
auth Simplify registration with email validation (#11398) 2023-08-15 16:14:53 +01:00
AutocompleteInput-test.tsx Conform more of the codebase to strictNullChecks (#10602) 2023-04-17 08:31:58 +01:00
ContextMenu-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
LargeLoader-test.tsx Start DM on first message (#8612) 2022-08-04 08:19:52 +02:00
LeftPanel-test.tsx Show filterContainer if "UIComponent.filterContainer" is enabled (#10381) 2023-03-21 09:06:43 +00:00
LegacyCallEventGrouper-test.ts Switch to importing @types/{event,partials} from main js-sdk export (#11369) 2023-08-08 10:12:12 +00:00
LoggedInView-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
MainSplit-test.tsx Allow maintaining a different right panel width for thread panels (#11064) 2023-06-15 11:57:58 +00:00
MatrixChat-test.tsx Simplify registration with email validation (#11398) 2023-08-15 16:14:53 +01:00
MessagePanel-test.tsx Switch to importing more things from the main js-sdk export (#11394) 2023-08-14 08:58:55 +00:00
PictureInPictureDragger-test.tsx Enable jsx-a11y/click-events-have-key-events eslint rule (#10362) 2023-08-09 06:27:31 +00:00
PipContainer-test.tsx Move mediaDevices mock out of setupManualMocks (#11413) 2023-08-16 08:29:34 +00:00
RightPanel-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
RoomSearchView-test.tsx Switch to importing more things from the main js-sdk export (#11377) 2023-08-10 08:01:14 +00:00
RoomStatusBar-test.tsx Switch to importing more things from the main js-sdk export (#11376) 2023-08-09 15:10:54 +00:00
RoomStatusBarUnsentMessages-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
RoomView-test.tsx Improve randomString mock for better snapshots (#11375) 2023-08-09 09:39:48 +01:00
SpaceHierarchy-test.tsx Switch to importing most things from the main matrix-js-sdk export (#11406) 2023-08-15 15:00:17 +00:00
TabbedView-test.tsx Use generics to better type TabbedView (#10726) 2023-04-27 12:55:29 +01:00
ThreadPanel-test.tsx Switch to importing more things from the main js-sdk export (#11394) 2023-08-14 08:58:55 +00:00
ThreadView-test.tsx Switch to importing more things from the main js-sdk export (#11394) 2023-08-14 08:58:55 +00:00
TimelinePanel-test.tsx Switch to importing more things from the main js-sdk export (#11394) 2023-08-14 08:58:55 +00:00
UserMenu-test.tsx Replace broadcast instance with SDKContext (#9824) 2022-12-27 08:39:26 +01:00
ViewSource-test.tsx Fix error when viewing source of redacted events (#9914) 2023-01-15 16:22:59 +00:00