Skip to content

Commit

Permalink
Fix coding style.
Browse files Browse the repository at this point in the history
  • Loading branch information
alrik committed Mar 27, 2023
1 parent b46f12c commit 099bd84
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/tasks/admin/delete-channel.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('The client deleteChannel task', () => {
realmRepository,
messageRepository,
channelRepository,
subscriptionRepository
subscriptionRepository,
});
});

Expand Down Expand Up @@ -63,7 +63,7 @@ describe('The client deleteChannel task', () => {
const deleteMethod = subscriptionRepository.deleteAllByChannelId;
expect(deleteMethod).toHaveBeenCalledWith({
realmId: subscription.realmId,
channelId: subscription.channelId
channelId: subscription.channelId,
});
});

Expand All @@ -77,7 +77,7 @@ describe('The client deleteChannel task', () => {
const deleteMethod = messageRepository.deleteAllByChannelId;
expect(deleteMethod).toHaveBeenCalledWith({
realmId: message.realmId,
channelId: message.channelId
channelId: message.channelId,
});
});
});
Expand Down
4 changes: 2 additions & 2 deletions src/tasks/admin/delete-subscription.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('The admin deleteSubscription task', () => {
it('should fail with appropriate error', async () => {
const {ok, error} = await deleteSubscription({
realmId: realmRepository.unknownRealmId,
id: subscriptionRepository.knownSubscriptionId
id: subscriptionRepository.knownSubscriptionId,
});

expect(ok).toBe(false);
Expand Down Expand Up @@ -61,7 +61,7 @@ describe('The admin deleteSubscription task', () => {
expect(ok).toBe(true);
expect(sendSubscriptionSyncMessage).toHaveBeenCalledWith({
subscription: result,
action: 'deleted'
action: 'deleted',
});
});
});
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/admin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports = ({
deleteSubscription: initDeleteSubscription({
realmRepository,
subscriptionRepository,
sendSubscriptionSyncMessage
sendSubscriptionSyncMessage,
}),
deleteToken: initDeleteToken({
authRepository,
Expand Down

0 comments on commit 099bd84

Please sign in to comment.