From 6a71f7fdd0c0a031fb2f9fa1b052f64d1c926648 Mon Sep 17 00:00:00 2001 From: William Deren Date: Mon, 11 Nov 2024 22:39:20 +0100 Subject: [PATCH] fix prettier --- server/test/services/free-mobile/index.test.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/server/test/services/free-mobile/index.test.js b/server/test/services/free-mobile/index.test.js index 2469ed7a31..b3bc89fcbf 100644 --- a/server/test/services/free-mobile/index.test.js +++ b/server/test/services/free-mobile/index.test.js @@ -15,8 +15,8 @@ describe('FreeMobileService', () => { beforeEach(() => { axiosStub = { - get: async () => { - return { data: 'OK' }; + get: async () => { + return { data: 'OK' }; }, }; @@ -44,7 +44,7 @@ describe('FreeMobileService', () => { describe('start', () => { it('should start service with success', async () => { await freeMobileService.start(); - + assert.strictEqual(await gladys.variable.getValue('FREE_MOBILE_USERNAME', serviceId), 'validUsername'); assert.strictEqual(await gladys.variable.getValue('FREE_MOBILE_ACCESS_TOKEN', serviceId), 'validAccessToken'); }); @@ -86,7 +86,7 @@ describe('FreeMobileService', () => { } return null; }; - + try { await freeMobileService.start(); throw new Error('Expected ServiceNotConfiguredError to be thrown'); @@ -94,7 +94,6 @@ describe('FreeMobileService', () => { expect(e).instanceOf(ServiceNotConfiguredError); } }); - }); describe('send', () => { @@ -126,7 +125,6 @@ describe('FreeMobileService', () => { expect(errorArgs[0]).to.equal('Error sending SMS:'); expect(errorArgs[1]).to.be.instanceOf(Error); }); - }); describe('stop', () => { @@ -134,4 +132,4 @@ describe('FreeMobileService', () => { await freeMobileService.stop(); }); }); -}); \ No newline at end of file +});