element-web-Github/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 Apply prettier formatting 2022-12-12 12:24:14 +01:00
device Fix failing userAgentParser tests (#9988) 2023-01-25 18:14:15 +00:00
dm Exclude functional members from DM detection (#9124) 2022-08-01 19:28:33 +02:00
exportUtils Fix new tests introduced by html export tweaks (#10022) 2023-01-30 15:52:38 +00:00
localRoom Apply prettier formatting 2022-12-12 12:24:14 +01:00
location Use js-sdk imports for poll event types instead of events-sdk (#9904) 2023-01-13 10:02:33 -07:00
media Apply prettier formatting 2022-12-12 12:24:14 +01:00
permalinks Apply prettier formatting 2022-12-12 12:24:14 +01:00
room Apply prettier formatting 2022-12-12 12:24:14 +01:00
validate Apply prettier formatting 2022-12-12 12:24:14 +01:00
AnimationUtils-test.ts Add some tests 2021-07-09 16:45:04 +02:00
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 Apply prettier formatting 2022-12-12 12:24:14 +01:00
connection-test.ts Reload map on reconnect (#8848) 2022-06-15 16:38:35 +02:00
createVoiceMessageContent-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
DateUtils-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
direct-messages-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
enums-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
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
export-test.tsx 🧵 Enable threads by default (#9736) 2022-12-13 15:09:15 +00:00
Feedback-test.ts Don't show feedback prompts when that UIFeature is disabled (#9305) 2022-09-22 15:08:14 +01:00
FixedRollingArray-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
generate-megolm-test-vectors.py Encryption and decryption for megolm backups 2017-01-14 01:34:34 +00:00
iterables-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
leave-behaviour-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
local-room-test.ts Prepare utils for local rooms (#9084) 2022-07-25 10:17:40 +02:00
maps-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
MegolmExportEncryption-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
membership-test.ts Step 8.5: Move various room utilities out of createRoom 2022-03-28 14:02:31 -06:00
MessageDiffUtils-test.tsx Fix MessageEditHistoryDialog crashing on complex input (#10018) 2023-01-31 09:55:20 +00:00
MultiInviter-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
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 Apply prettier formatting 2022-12-12 12:24:14 +01:00
pillify-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
sets-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
ShieldUtils-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
Singleflight-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
SnakedObject-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
stringOrderField-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
tooltipify-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
WidgetUtils-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00