chore: Review fix

This commit is contained in:
iamsivin
2024-02-13 08:54:56 +05:30
parent 34aef51064
commit 8d200b8a99
3 changed files with 22 additions and 10 deletions
@@ -42,6 +42,16 @@ describe('#getters', () => {
]);
});
it('getActiveNotificationById', () => {
const state = {
records: {
1: { id: 1 },
},
};
expect(getters.getActiveNotificationById(state)(1)).toEqual({ id: 1 });
expect(getters.getActiveNotificationById(state)(2)).toEqual({});
});
it('getUIFlags', () => {
const state = {
uiFlags: {