You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03:00
Apply strictNullChecks
around the codebase (#10302
* Apply `strictNullChecks` around the codebase * Iterate PR
This commit is contained in:
committed by
GitHub
parent
7c2bb966d0
commit
4b8bada24b
@ -46,7 +46,7 @@ describe("SetupEncryptionStore", () => {
|
||||
const makeRequest = jest.fn();
|
||||
client.hasSecretStorageKey.mockResolvedValue(true);
|
||||
client.bootstrapCrossSigning.mockImplementation(async (opts: IBootstrapCrossSigningOpts) => {
|
||||
await opts?.authUploadDeviceSigningKeys(makeRequest);
|
||||
await opts?.authUploadDeviceSigningKeys?.(makeRequest);
|
||||
});
|
||||
mocked(accessSecretStorage).mockImplementation(async (func: () => Promise<void>) => {
|
||||
await func();
|
||||
|
Reference in New Issue
Block a user