mirror of https://github.com/vector-im/riot-web
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 |
||
---|---|---|
.. | ||
EventTile | ||
NotificationBadge | ||
__snapshots__ | ||
wysiwyg_composer | ||
BasicMessageComposer-test.tsx | ||
EditMessageComposer-test.tsx | ||
EventTile-test.tsx | ||
ExtraTile-test.tsx | ||
LegacyRoomHeader-test.tsx | ||
MemberList-test.tsx | ||
MessageComposer-test.tsx | ||
MessageComposerButtons-test.tsx | ||
NewRoomIntro-test.tsx | ||
PinnedEventTile-test.tsx | ||
ReadReceiptGroup-test.tsx | ||
RoomHeader-test.tsx | ||
RoomList-test.tsx | ||
RoomListHeader-test.tsx | ||
RoomPreviewBar-test.tsx | ||
RoomPreviewCard-test.tsx | ||
RoomTile-test.tsx | ||
SearchBar-test.tsx | ||
SearchResultTile-test.tsx | ||
SendMessageComposer-test.tsx | ||
ThirdPartyMemberInfo-test.tsx | ||
VoiceRecordComposerTile-test.tsx |