From: Jérôme Benoit Date: Thu, 26 Feb 2026 23:31:38 +0000 (+0100) Subject: refactor(test): remove unnecessary comments from Reset tests X-Git-Tag: ocpp-server@v3.0.0~142 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=d87b87b577081d94c87f188cc490000a31a9d1c4;p=e-mobility-charging-stations-simulator.git refactor(test): remove unnecessary comments from Reset tests --- diff --git a/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-Reset.test.ts b/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-Reset.test.ts index 069ec34f..dcb233cc 100644 --- a/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-Reset.test.ts +++ b/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-Reset.test.ts @@ -20,10 +20,7 @@ import { Constants } from '../../../../src/utils/index.js' import { createChargingStation } from '../../../ChargingStationFactory.js' import { TEST_CHARGING_STATION_BASE_NAME } from './OCPP20TestConstants.js' -// Reset tests use fake timers to prevent real setInterval/setTimeout from blocking test runner -// This fixes Windows CI hangs where Node.js test runner waits for all timers to complete await describe('B11 & B12 - Reset', async () => { - // Enable fake timers for all timer APIs used by Reset handlers beforeEach(() => { mock.timers.enable({ apis: ['setInterval', 'setTimeout', 'setImmediate'] }) })