1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Do not prompt for a password when doing a „reset all“ after login (#10208)

This commit is contained in:
Michael Weimann
2023-02-23 08:46:49 +01:00
committed by GitHub
parent 26652138bd
commit eb6278df1d
7 changed files with 202 additions and 14 deletions

View File

@ -102,6 +102,8 @@ export function createTestClient(): MatrixClient {
getDevices: jest.fn().mockResolvedValue({ devices: [{ device_id: "ABCDEFGHI" }] }),
getSessionId: jest.fn().mockReturnValue("iaszphgvfku"),
credentials: { userId: "@userId:matrix.org" },
bootstrapCrossSigning: jest.fn(),
hasSecretStorageKey: jest.fn(),
store: {
getPendingEvents: jest.fn().mockResolvedValue([]),