feat: Add inbox view under feature flag on the sidebar (#9049)

Co-authored-by: Pranav <pranav@chatwoot.com>
This commit is contained in:
Sivin Varghese
2024-03-07 18:27:39 -08:00
committed by GitHub
co-authored by Pranav
parent b6bf6bd414
commit 0685e04aae
18 changed files with 340 additions and 256 deletions
@@ -44,6 +44,16 @@ describe('#getters', () => {
]);
});
it('getNotificationById', () => {
const state = {
records: {
1: { id: 1 },
},
};
expect(getters.getNotificationById(state)(1)).toEqual({ id: 1 });
expect(getters.getNotificationById(state)(2)).toEqual({});
});
it('getUIFlags', () => {
const state = {
uiFlags: {