From 6495e7a8359b69f26c5b677fc90c6d8c5d43b737 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 13 Aug 2026 22:13:58 +0200 Subject: [PATCH] test(simulator): drop manual test counters from worker broadcast-channel test (#2081) The group-header comments carried hand-maintained (N tests) counters that rot as tests are added or removed; the test runner already reports the count. Remove them, keeping the descriptive group headers. --- .../ChargingStationWorkerBroadcastChannel.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.test.ts b/tests/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.test.ts index 124b1fd0..aa90e11b 100644 --- a/tests/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.test.ts +++ b/tests/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.test.ts @@ -104,7 +104,7 @@ await describe('ChargingStationWorkerBroadcastChannel', async () => { }) // ========================================================================== - // Group 1: ProcedureNameToBroadCastChannelProcedureNameMapping — 8 new entries (8 tests) + // Group 1: ProcedureNameToBroadCastChannelProcedureNameMapping — 8 new entries // ========================================================================== await describe('ProcedureNameToBroadCastChannelProcedureNameMapping OCPP 2.0.1 entries', async () => { @@ -174,7 +174,7 @@ await describe('ChargingStationWorkerBroadcastChannel', async () => { }) // ========================================================================== - // Group 2: commandResponseToResponseStatus — 4 new command response cases (18 tests) + // Group 2: commandResponseToResponseStatus — 4 new command response cases // ========================================================================== await describe('commandResponseToResponseStatus OCPP 2.0.1 commands', async () => { @@ -516,7 +516,7 @@ await describe('ChargingStationWorkerBroadcastChannel', async () => { }) // ========================================================================== - // Group 3: CHANGE_CONFIGURATION — status collapse + worker handler (9 tests) + // Group 3: CHANGE_CONFIGURATION — status collapse + worker handler // The status-collapse tests guard the acceptedStatusCommands entry: without it, // even ACCEPTED would fall through to the FAILURE default. // ========================================================================== @@ -612,7 +612,7 @@ await describe('ChargingStationWorkerBroadcastChannel', async () => { }) // ========================================================================== - // Group 4: commandHandler dispatch pipeline — verify full dispatch (9 tests) + // Group 4: commandHandler dispatch pipeline — verify full dispatch // ========================================================================== await describe('commandHandler OCPP 2.0.1 dispatch pipeline', async () => { @@ -729,7 +729,7 @@ await describe('ChargingStationWorkerBroadcastChannel', async () => { }) // ========================================================================== - // Group 5: requestHandler full pipeline — exercise handler dispatch via message events (6 tests) + // Group 5: requestHandler full pipeline — exercise handler dispatch via message events // ========================================================================== await describe('requestHandler full pipeline OCPP 2.0.1', async () => { -- 2.53.0