1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Fix cypress RTE flaky test (#9920)

* Update @matrix-org/matrix-wysiwyg to 0.19.0
* Press {enter} to send message
This commit is contained in:
Florian Duros
2023-01-18 10:09:25 +01:00
committed by GitHub
parent 70d3d03c15
commit e4a9684d76
4 changed files with 9 additions and 10 deletions

View File

@@ -36,7 +36,7 @@ const mockWysiwyg = {
const openLinkModalSpy = jest.spyOn(LinkModal, "openLinkModal");
const testCases: Record<
Exclude<ActionTypes, "undo" | "redo" | "clear">,
Exclude<ActionTypes, "undo" | "redo" | "clear" | "codeBlock">,
{ label: string; mockFormatFn: jest.Func | jest.SpyInstance }
> = {
bold: { label: "Bold", mockFormatFn: mockWysiwyg.bold },