element-web/test/utils
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__
beacon
crypto
device
dm
exportUtils Fix "Export chat" not respecting configured time format in plain text mode (#10696) 2023-08-07 13:58:45 +00:00
localRoom
location Switch to importing most things from the main matrix-js-sdk export (#11406) 2023-08-15 15:00:17 +00:00
media Move `mediaDevices` mock out of `setupManualMocks` (#11413) 2023-08-16 08:29:34 +00:00
oidc Improve randomString mock for better snapshots (#11375) 2023-08-09 09:39:48 +01:00
permalinks Remove dead & duplicated code (#11405) 2023-08-15 08:43:15 +00:00
room
validate
AnimationUtils-test.ts
AutoDiscoveryUtils-test.tsx Switch to importing most things from the main matrix-js-sdk export (#11406) 2023-08-15 15:00:17 +00:00
DMRoomMap-test.ts
DateUtils-test.ts
ErrorUtils-test.ts Switch to importing more things from the main js-sdk export (#11376) 2023-08-09 15:10:54 +00:00
EventRenderingUtils-test.ts
EventUtils-test.ts Switch to importing more things from the main js-sdk export (#11394) 2023-08-14 08:58:55 +00:00
Feedback-test.ts
FixedRollingArray-test.ts
FormattingUtils-test.ts Change formatCount impl to use Intl.NumberFormat (#11379) 2023-08-08 11:45:20 +00:00
LruCache-test.ts
MegolmExportEncryption-test.ts
MessageDiffUtils-test.tsx
MultiInviter-test.ts
SearchInput-test.ts Remove dead & duplicated code (#11405) 2023-08-15 08:43:15 +00:00
ShieldUtils-test.ts
Singleflight-test.ts
SnakedObject-test.ts
UrlUtils-test.ts
WidgetUtils-test.ts
arrays-test.ts
colour-test.ts
connection-test.ts Switch to importing more things from the main js-sdk export (#11377) 2023-08-10 08:01:14 +00:00
createVoiceMessageContent-test.ts
direct-messages-test.ts
enums-test.ts
export-test.tsx
generate-megolm-test-vectors.py
iterables-test.ts
leave-behaviour-test.ts Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
local-room-test.ts
maps-test.ts
membership-test.ts
notifications-test.ts Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
numbers-test.ts
objects-test.ts
pillify-test.tsx
rooms-test.ts
sets-test.ts
stringOrderField-test.ts
threepids-test.ts
tooltipify-test.tsx