feat: Handle notification.deleted action cable event (#8501)

This commit is contained in:
Muhsin Keloth
2023-12-06 16:49:00 +05:30
committed by GitHub
parent 6b0d1d77d3
commit bf49a17efa
8 changed files with 51 additions and 4 deletions

View File

@@ -98,4 +98,13 @@ describe('#actions', () => {
]);
});
});
describe('#deleteNotification', () => {
it('sends correct actions', async () => {
await actions.deleteNotification({ commit }, { data: 1 });
expect(commit.mock.calls).toEqual([
[types.DELETE_NOTIFICATION, { data: 1 }],
]);
});
});
});