]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
refactor(test): remove unnecessary comments from Reset tests
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 26 Feb 2026 23:31:38 +0000 (00:31 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 26 Feb 2026 23:31:38 +0000 (00:31 +0100)
tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-Reset.test.ts

index 069ec34f72b68d25031dc2f45d04b5c9206cf51d..dcb233ccd3f52f7c21de563a2c2ff5a6c4aef102 100644 (file)
@@ -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'] })
   })