New context for local device verification (#12417)

* New context for local device verification

* Fix up tests

* Use PropsWithChildren
This commit is contained in:
Richard van der Hoff 2024-04-16 10:43:27 +01:00 committed by GitHub
parent 31373399f9
commit 5ed68efa6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 256 additions and 3 deletions

View file

@ -38,6 +38,7 @@ describe("<LoggedInView />", () => {
getMediaHandler: jest.fn(),
setPushRuleEnabled: jest.fn(),
setPushRuleActions: jest.fn(),
getCrypto: jest.fn().mockReturnValue(undefined),
});
const mediaHandler = new MediaHandler(mockClient);
const mockSdkContext = new TestSdkContext();