Adding jest coverage

This commit is contained in:
James Barnsley
2020-08-03 21:02:18 +12:00
parent 48adeeac7f
commit 4d56b73863
76 changed files with 63793 additions and 75 deletions

View File

@ -497,11 +497,7 @@ const SnapcastMiddleware = (function () {
break;
case 'SNAPCAST_DELETE_CLIENT':
const params = {
id: action.id,
};
request(store, 'Server.DeleteClient', params)
request(store, 'Server.DeleteClient', { id: action.id })
.then(
() => {
store.dispatch({