use correct default for notification silencing (#9388)
This commit is contained in:
parent
7c1c49540a
commit
9e055ee99d
2 changed files with 3 additions and 3 deletions
|
@ -81,8 +81,8 @@ describe('notifications', () => {
|
|||
});
|
||||
|
||||
describe('localNotificationsAreSilenced', () => {
|
||||
it('defaults to true when no setting exists', () => {
|
||||
expect(localNotificationsAreSilenced(mockClient)).toBeTruthy();
|
||||
it('defaults to false when no setting exists', () => {
|
||||
expect(localNotificationsAreSilenced(mockClient)).toBeFalsy();
|
||||
});
|
||||
it('checks the persisted value', () => {
|
||||
mockClient.setAccountData(accountDataEventKey, { is_silenced: true });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue