From: Jérôme Benoit Date: Fri, 23 Aug 2024 19:54:23 +0000 (+0200) Subject: refactor: cleanup blank lines X-Git-Tag: ocpp-server@v1.5.2~92 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b1421bc351387bb5efd738f0be8cfd5ab94a4426;p=e-mobility-charging-stations-simulator.git refactor: cleanup blank lines Signed-off-by: Jérôme Benoit --- diff --git a/tests/types/ConfigurationData.test.ts b/tests/types/ConfigurationData.test.ts index 2af0d14b..946bd4a5 100644 --- a/tests/types/ConfigurationData.test.ts +++ b/tests/types/ConfigurationData.test.ts @@ -11,14 +11,14 @@ await describe('ConfigurationData test suite', async () => { await it('Verify ConfigurationSection enumeration', () => { expect(ConfigurationSection.log).toBe('log') expect(ConfigurationSection.performanceStorage).toBe('performanceStorage') - expect(ConfigurationSection.worker).toBe('worker') expect(ConfigurationSection.uiServer).toBe('uiServer') + expect(ConfigurationSection.worker).toBe('worker') }) await it('Verify SupervisionUrlDistribution enumeration', () => { - expect(SupervisionUrlDistribution.ROUND_ROBIN).toBe('round-robin') - expect(SupervisionUrlDistribution.RANDOM).toBe('random') expect(SupervisionUrlDistribution.CHARGING_STATION_AFFINITY).toBe('charging-station-affinity') + expect(SupervisionUrlDistribution.RANDOM).toBe('random') + expect(SupervisionUrlDistribution.ROUND_ROBIN).toBe('round-robin') }) await it('Verify ApplicationProtocolVersion enumeration', () => { diff --git a/ui/web/src/composables/UIClient.ts b/ui/web/src/composables/UIClient.ts index fd1a0e0c..ae626dec 100644 --- a/ui/web/src/composables/UIClient.ts +++ b/ui/web/src/composables/UIClient.ts @@ -21,7 +21,6 @@ interface ResponseHandler { export class UIClient { private static instance: null | UIClient = null - private responseHandlers: Map< `${string}-${string}-${string}-${string}-${string}`, ResponseHandler