element-web/test/utils
Clark Fischer 53a9b6447b
Fix MessageEditHistoryDialog crashing on complex input (#10018)
* noImplicitAny fixes for MessageDiffUtils

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Add tests for MessageDiffUtils

Adds mostly snapshot tests for MessageDiffUtils to guarantee consistent
behavior.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Strict mode fixes for MessageDiffUtils

Gets `MessageDiffUtils` to pass under `tsc --strict`.

Fixes https://github.com/vector-im/element-web/issues/23665 - no longer errors,
though it still isn't correct.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Remove obsolete DiffDOM workaround

Workaround is no longer necessary as of DiffDOM 4.2.1

See https://github.com/fiduswriter/diffDOM/issues/90

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

---------

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
2023-01-31 09:55:20 +00:00
..
__snapshots__ Fix MessageEditHistoryDialog crashing on complex input (#10018) 2023-01-31 09:55:20 +00:00
beacon
device Fix failing userAgentParser tests (#9988) 2023-01-25 18:14:15 +00:00
dm
exportUtils Fix new tests introduced by html export tweaks (#10022) 2023-01-30 15:52:38 +00:00
localRoom
location Use js-sdk imports for poll event types instead of events-sdk (#9904) 2023-01-13 10:02:33 -07:00
media
permalinks
room
validate
AnimationUtils-test.ts
DateUtils-test.ts
EventRenderingUtils-test.ts Disable bubbles for broadcasts (#9860) 2023-01-05 12:33:28 +01:00
EventUtils-test.ts Update to supportsThreads (#9907) 2023-01-30 12:20:11 +00:00
Feedback-test.ts
FixedRollingArray-test.ts
MegolmExportEncryption-test.ts
MessageDiffUtils-test.tsx Fix MessageEditHistoryDialog crashing on complex input (#10018) 2023-01-31 09:55:20 +00:00
MultiInviter-test.ts
ShieldUtils-test.ts
Singleflight-test.ts
SnakedObject-test.ts
WidgetUtils-test.ts
arrays-test.ts Improve live voice broadcast detection by testing if the started event has been redacted (#9780) 2022-12-22 10:37:07 +00:00
colour-test.ts
connection-test.ts
createVoiceMessageContent-test.ts
direct-messages-test.ts
enums-test.ts
export-test.tsx 🧵 Enable threads by default (#9736) 2022-12-13 15:09:15 +00:00
generate-megolm-test-vectors.py
iterables-test.ts
leave-behaviour-test.ts
local-room-test.ts
maps-test.ts
membership-test.ts
notifications-test.ts Add mark as read option in room setting (#9798) 2022-12-22 13:18:38 +00:00
numbers-test.ts Fix seekbar position for zero length audio (#9949) 2023-01-23 17:28:31 +01:00
objects-test.ts
pillify-test.tsx
sets-test.ts
stringOrderField-test.ts
tooltipify-test.tsx