element-web/test/test-utils
Richard van der Hoff 46eb34a55d
Kill off references to deprecated getStoredDevice and getStoredDevicesForUser (#11152)
* Use new `CryptoEvent.VerificationRequestReceived` event

https://github.com/matrix-org/matrix-js-sdk/pull/3514 deprecates
`CryptoEvent.VerificationRequest` in favour of
`CryptoEvent.VerificationRequestReceived`. Use the new event.

* Factor out `getDeviceCryptoInfo` function

I seem to be writing this logic several times, so let's factor it out.

* Factor out `getUserDeviceIds` function

Another utility function

* VerificationRequestToast: `getStoredDevice` -> `getDeviceCryptoInfo`

* SlashCommands: `getStoredDevice` -> `getDeviceCryptoInfo`

* MemberTile: `getStoredDevicesForUser` -> `getUserDeviceIds`

* Remove redundant mock of `getStoredDevicesForUser`
2023-06-28 12:39:34 +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 Kill off references to deprecated getStoredDevice and getStoredDevicesForUser (#11152) 2023-06-28 12:39:34 +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
pushRules.ts add push rules test utility (#10712) 2023-04-27 01:18:19 +00:00
relations.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
room.ts Allow maintaining a different right panel width for thread panels (#11064) 2023-06-15 11:57:58 +00:00
test-utils.ts Kill off references to deprecated getStoredDevice and getStoredDevicesForUser (#11152) 2023-06-28 12:39:34 +00:00
threads.ts Include thread replies in message previews (#10631) 2023-06-01 07:53:48 +00:00
utilities.ts More tests for UserInfo (#10677) 2023-04-21 13:48:27 +00:00
wrappers.tsx Prefer MatrixClientContext over MatrixClientPeg (#10986) 2023-06-14 13:42:07 +01:00