feat: Handle notification.deleted action cable event (#8501)
This commit is contained in:
@@ -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 }],
|
||||
]);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user