mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
7a6d81c3b8
* 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 |
||
---|---|---|
.. | ||
__snapshots__ | ||
ContextMenu-test.tsx | ||
EmbeddedPage-test.tsx | ||
MessageContextMenu-test.tsx | ||
RoomContextMenu-test.tsx | ||
RoomGeneralContextMenu-test.tsx | ||
SpaceContextMenu-test.tsx | ||
ThreadListContextMenu-test.tsx | ||
WidgetContextMenu-test.tsx |