refactor: cleanup blank lines
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 23 Aug 2024 19:54:23 +0000 (21:54 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 23 Aug 2024 19:54:23 +0000 (21:54 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
tests/types/ConfigurationData.test.ts
ui/web/src/composables/UIClient.ts

index 2af0d14b559b3884c30c8f25b5b99dba4f00781c..946bd4a51ac739de28a486b96a2482ad462985c7 100644 (file)
@@ -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', () => {
index fd1a0e0c5697d1170c90883d5b9d2c80da249060..ae626dec0c7baffc6cd1bf2bdeebfb2399b8174a 100644 (file)
@@ -21,7 +21,6 @@ interface ResponseHandler {
 
 export class UIClient {
   private static instance: null | UIClient = null
-
   private responseHandlers: Map<
     `${string}-${string}-${string}-${string}-${string}`,
     ResponseHandler