Device manager - silence call ringers when local notifications are silenced (#9420)
* silence call ringers when local notifications are silenced * more coverage for silencing * explain disabled silence button * lint * increase wait for modal Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
1d1860842e
commit
2d9f828810
8 changed files with 280 additions and 8 deletions
|
@ -78,6 +78,7 @@ export const mockClientMethodsUser = (userId = '@alice:domain') => ({
|
|||
getThreePids: jest.fn().mockResolvedValue({ threepids: [] }),
|
||||
getAccessToken: jest.fn(),
|
||||
getDeviceId: jest.fn(),
|
||||
getAccountData: jest.fn(),
|
||||
});
|
||||
|
||||
/**
|
||||
|
@ -103,6 +104,7 @@ export const mockClientMethodsServer = (): Partial<Record<MethodKeysOf<MatrixCli
|
|||
getCapabilities: jest.fn().mockReturnValue({}),
|
||||
getClientWellKnown: jest.fn().mockReturnValue({}),
|
||||
doesServerSupportUnstableFeature: jest.fn().mockResolvedValue(false),
|
||||
isFallbackICEServerAllowed: jest.fn(),
|
||||
});
|
||||
|
||||
export const mockClientMethodsDevice = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue