Fix predecessor tests broken (#10123)

This commit is contained in:
Germain 2023-02-09 12:46:17 +00:00 committed by GitHub
parent c4a6cc8e65
commit 8fe5714673
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -226,6 +226,7 @@ describe("<Notifications />", () => {
setAccountData: jest.fn(),
sendReadReceipt: jest.fn(),
supportsThreads: jest.fn().mockReturnValue(true),
isInitialSyncComplete: jest.fn().mockReturnValue(false),
});
mockClient.getPushRules.mockResolvedValue(pushRules);