element-web-Github/test/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
..
audio.ts Fix seekbar position for zero length audio (#9949) 2023-01-23 17:28:31 +01:00
beacon.ts Switch to importing most things from the main matrix-js-sdk export (#11406) 2023-08-15 15:00:17 +00:00
call.ts Switch to importing more things from the main js-sdk export (#11377) 2023-08-10 08:01:14 +00:00
client.ts Support Matrix 1.1 (drop legacy r0 versions) (#9819) 2023-08-14 09:25:13 +01:00
composer.ts Update tests to prefer RTL over Enzyme (#10247 2023-02-28 08:58:23 +00:00
console.ts Use the same avatar colour when creating 1:1 DM rooms (#9850) 2023-01-05 17:05:21 +01:00
date.ts Poll history - read only list of polls in current timeline (#10055) 2023-02-02 21:39:23 +00:00
events.ts Switch to importing @types/{event,partials} from main js-sdk export (#11369) 2023-08-08 10:12:12 +00:00
index.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
location.ts Switch to importing most things from the main matrix-js-sdk export (#11406) 2023-08-15 15:00:17 +00:00
oidc.ts Switch to importing most things from the main matrix-js-sdk export (#11406) 2023-08-15 15:00:17 +00:00
platform.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
poll.ts Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
pushRules.ts Stabilize support for MSC3952: intentional mentions (#10967) 2023-07-11 22:29:54 +00:00
relations.ts Switch to importing more things from the main js-sdk export (#11376) 2023-08-09 15:10:54 +00:00
room.ts Allow knocking rooms (#11353) 2023-08-07 06:27:09 +00:00
test-utils.ts Support Matrix 1.1 (drop legacy r0 versions) (#9819) 2023-08-14 09:25:13 +01:00
threads.ts Switch to importing more things from the main js-sdk export (#11394) 2023-08-14 08:58:55 +00:00
utilities.ts Move mediaDevices mock out of setupManualMocks (#11413) 2023-08-16 08:29:34 +00:00
wrappers.tsx Prefer MatrixClientContext over MatrixClientPeg (#10986) 2023-06-14 13:42:07 +01:00