feat: Adds the ability to disable the "new message notification" popup (#9594)

This commit is contained in:
Sivin Varghese
2024-06-11 08:14:58 +05:30
committed by GitHub
parent 20b2dc8c6f
commit 9689bbf0dd
6 changed files with 22 additions and 2 deletions

View File

@@ -13,4 +13,10 @@ describe('#getters', () => {
expect(getters.getReferrerHost(state)).toEqual('www.chatwoot.com');
});
});
describe('#getShowUnreadMessagesDialog', () => {
it('returns correct value', () => {
const state = { showUnreadMessagesDialog: true };
expect(getters.getShowUnreadMessagesDialog(state)).toEqual(true);
});
});
});