Skip to content

Commit

Permalink
chore: format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Jul 18, 2024
1 parent 6eb9298 commit 4536ede
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions test/matt.consumer.integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ const sendMattMessageTCP = (
socket.on('data', (data) => {
resolve(parseMattMessage(data.toString()));
});
socket.on('error', (err) =>
reject(Error(err.message))
);
socket.on('error', (err) => reject(Error(err.message)));
});
};

Expand Down
4 changes: 1 addition & 3 deletions test/matt.provider.integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ const startTCPServer = (host: string, port: number) => {
}
sock.write('\n');
});
sock.on('error', (err) =>
console.error(Error(`${err.message}`))
);
sock.on('error', (err) => console.error(Error(`${err.message}`)));
});

return new Promise((resolve) => {
Expand Down

0 comments on commit 4536ede

Please sign in to comment.