Use PassphraseFields in ExportE2eKeysDialog to enforce minimum passphrase complexity (#11222)

* Use PassphraseFields in ExportE2eKeysDialog to enforce minimum passphrase complexity

* Tweak copy

* Iterate

* Add tests

* Improve variable naming

* Improve coverage
This commit is contained in:
Michael Telatynski
2023-07-27 09:21:20 +00:00
committed by GitHub
parent b0317e6752
commit d405160080
5 changed files with 244 additions and 23 deletions
+1
View File
@@ -241,6 +241,7 @@ export function createTestClient(): MatrixClient {
joinRoom: jest.fn(),
getSyncStateData: jest.fn(),
getDehydratedDevice: jest.fn(),
exportRoomKeys: jest.fn(),
} as unknown as MatrixClient;
client.reEmitter = new ReEmitter(client);