element-web/test/components/views/settings/tabs/user
Richard van der Hoff 7a6d81c3b8
Update Jest to more recent release (#11409)
* Update Jest to more recent release

I want to use things like `jest.advanceTimersByTimeAsync`

* more jest updates

* add dep on types/prettier

* fix LegacyRoomHeader-test

* fix MatrixChat-test

* fix RoomView-test

* fix PollHistory-test

* update SidebarUserSettingsTab-test

* fix PipContainer-test

* fix UserOnboardingPage-test

* fix WidgetContextMenu-test.tsx

* Avoid `mockImplementation` for mock `matchMedia` impl

`mockImplementation` is (now) reset by `jest.resetAllMocks` and
`jest.restoreAllMocks`, which we don't really want here.

Fixes `theme-test`

* 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.

* fix FormattingButtons-test.tsx

* fix DeviceListenerTest

* fix RoomTile-test
2023-08-16 10:20:48 +00:00
..
__snapshots__ Improve randomString mock for better snapshots (#11375) 2023-08-09 09:39:48 +01:00
AppearanceUserSettingsTab-test.tsx Improve randomString mock for better snapshots (#11375) 2023-08-09 09:39:48 +01:00
GeneralUserSettingsTab-test.tsx Use semantic headings in user settings - integrations and account deletion (#10837) 2023-05-17 07:52:44 +00:00
KeyboardUserSettingsTab-test.tsx Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
LabsUserSettingsTab-test.tsx Use semantic headings in user settings Labs (#10773) 2023-05-16 01:22:45 +00:00
MjolnirUserSettingsTab-test.tsx Use semantic headings in user settings - Ignored users (#11006) 2023-05-30 22:42:53 +00:00
PreferencesUserSettingsTab-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
SecurityUserSettingsTab-test.tsx Move session manager out of beta (#10968) 2023-05-26 01:58:28 +00:00
SessionManagerTab-test.tsx Improve randomString mock for better snapshots (#11375) 2023-08-09 09:39:48 +01:00
SidebarUserSettingsTab-test.tsx Update Jest to more recent release (#11409) 2023-08-16 10:20:48 +00:00
VoiceUserSettingsTab-test.tsx await promises (#10992) 2023-05-28 22:19:37 +00:00