element-web-Github/test/test-utils
Richard van der Hoff 70b87f8bde
Simplify isDeviceVerified definitions (#10594)
* Simplify `isDeviceVerified` definitions

Currently, we have two similar but different definitions of `isDeviceVerified`,
and they both do a lot of wrangling that relies on js-sdk internals. We can
simplify it a lot by just calling `MatrixClientPeg.checkDeviceTrust`.

* fix tests

* more test fixes
2023-04-14 09:46:37 +00:00
..
audio.ts Fix seekbar position for zero length audio (#9949) 2023-01-23 17:28:31 +01:00
beacon.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
call.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
client.ts Show all labs even if incompatible, with appropriate tooltip explaining requirements (#10369) 2023-03-15 08:37:41 +00:00
composer.ts Update tests to prefer RTL over Enzyme (#10247 2023-02-28 08:58:23 +00:00
console.ts Use the same avatar colour when creating 1:1 DM rooms (#9850) 2023-01-05 17:05:21 +01:00
date.ts Poll history - read only list of polls in current timeline (#10055) 2023-02-02 21:39:23 +00:00
events.ts Revert "Revert "Factor out MessageEvent.from() usage (#9882)"" 2023-01-10 13:43:15 -07:00
index.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
location.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
platform.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
poll.ts Poll history: detail screen (#10172) 2023-02-27 20:39:55 +00:00
relations.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
room.ts Properly generate mentions when editing a reply with MSC3952 (#10486) 2023-04-02 21:32:12 +00:00
test-utils.ts Simplify isDeviceVerified definitions (#10594) 2023-04-14 09:46:37 +00:00
threads.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
utilities.ts Better error handling in jump to date (#10405) 2023-03-24 14:39:24 -05:00
wrappers.tsx Remove Enzyme tests in favour of React testing-library (#10289) 2023-03-06 12:13:17 +00:00