From 4093058d682a8b2a9e575ac5258f25579ccfb05a Mon Sep 17 00:00:00 2001 From: koekiebox Date: Sun, 4 Aug 2024 12:58:15 +0200 Subject: [PATCH] feat(2737): formatting. --- .../backend/src/telemetry/service.test.ts | 24 +++++++------------ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/packages/backend/src/telemetry/service.test.ts b/packages/backend/src/telemetry/service.test.ts index c7b774d64c..11f04621fb 100644 --- a/packages/backend/src/telemetry/service.test.ts +++ b/packages/backend/src/telemetry/service.test.ts @@ -266,11 +266,9 @@ describe('TelemetryServiceImpl', () => { .mockImplementation(() => Promise.resolve(ConvertError.InvalidDestinationPrice) ) - const internalConvertSpy = jest - .spyOn(internalRatesService, 'convert') + const internalConvertSpy = jest.spyOn(internalRatesService, 'convert') - const spyIncCounter = jest - .spyOn(telemetryService, 'incrementCounter') + const spyIncCounter = jest.spyOn(telemetryService, 'incrementCounter') await telemetryService.incrementCounterWithTransactionFeeAmount( 'test_fee_counter', @@ -292,10 +290,8 @@ describe('TelemetryServiceImpl', () => { }) it('should not record fee negative fee value', async () => { - const spyConvert = jest - .spyOn(aseRatesService, 'convert') - const spyIncCounter = jest - .spyOn(telemetryService, 'incrementCounter') + const spyConvert = jest.spyOn(aseRatesService, 'convert') + const spyIncCounter = jest.spyOn(telemetryService, 'incrementCounter') await telemetryService.incrementCounterWithTransactionFeeAmount( 'test_fee_counter', @@ -316,10 +312,8 @@ describe('TelemetryServiceImpl', () => { }) it('should not record zero amounts', async () => { - const spyConvert = jest - .spyOn(aseRatesService, 'convert') - const spyIncCounter = jest - .spyOn(telemetryService, 'incrementCounter') + const spyConvert = jest.spyOn(aseRatesService, 'convert') + const spyIncCounter = jest.spyOn(telemetryService, 'incrementCounter') await telemetryService.incrementCounterWithTransactionFeeAmount( 'test_fee_counter', @@ -340,10 +334,8 @@ describe('TelemetryServiceImpl', () => { }) it('should record since it is a valid fee', async () => { - const spyConvert = jest - .spyOn(aseRatesService, 'convert') - const spyIncCounter = jest - .spyOn(telemetryService, 'incrementCounter') + const spyConvert = jest.spyOn(aseRatesService, 'convert') + const spyIncCounter = jest.spyOn(telemetryService, 'incrementCounter') await telemetryService.incrementCounterWithTransactionFeeAmount( 'test_fee_counter',