element-web-Github/test/setup
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
..
setupConfig.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
setupLanguage.ts Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
setupManualMocks.ts Move mediaDevices mock out of setupManualMocks (#11413) 2023-08-16 08:29:34 +00:00