From 4536ede6401d76700443a303ae273866006bd59c Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Thu, 18 Jul 2024 15:35:47 +0100 Subject: [PATCH] chore: format fix --- test/matt.consumer.integration.spec.ts | 4 +--- test/matt.provider.integration.spec.ts | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/test/matt.consumer.integration.spec.ts b/test/matt.consumer.integration.spec.ts index 15f98313..33ef2bdb 100644 --- a/test/matt.consumer.integration.spec.ts +++ b/test/matt.consumer.integration.spec.ts @@ -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))); }); }; diff --git a/test/matt.provider.integration.spec.ts b/test/matt.provider.integration.spec.ts index 3db1eeaf..51ebbfb9 100644 --- a/test/matt.provider.integration.spec.ts +++ b/test/matt.provider.integration.spec.ts @@ -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) => {