Skip to content

Commit

Permalink
fix: restore return value
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed Dec 19, 2023
1 parent be30806 commit 5506919
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('ExternalServicesRoute', () => {
externalServicesRoute = new ExternalServicesRoute(wsGatewayStub, messageRepository);
});

it.skip('should not send any message to the web socket if user is not online', async () => {
it('should not send any message to the web socket if user is not online', async () => {
getCountStub.resolves(Promise.resolve(5));

await externalServicesRoute.execute(commandReceivedMessage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class ExternalServicesRoute {
if (!isOnline) {
Logger.log(`Connection does not exist, ignoring command for ${command.userId}`, LOG_CONTEXT);

// return;
return;
}

if (command.event === WebSocketEventEnum.RECEIVED) {
Expand Down

0 comments on commit 5506919

Please sign in to comment.