]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor(tests): rename createRealChargingStation to createMockChargingStation
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 02:24:13 +0000 (03:24 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 14:00:18 +0000 (15:00 +0100)
commit11b065b13edc4ebfd6a3a8096330bf56a2644d92
tree96927191695ecaeca5900b03196396afaf9cd679
parent56ea3eb7254311a0bfb7e17abfe55cdd37014f41
refactor(tests): rename createRealChargingStation to createMockChargingStation

- Rename function to reflect its nature as a lightweight stub, not a real instance
- Update all usages in ChargingStation.test.ts
- Add EVSE 0 with connector 0 for station-level availability checks in EVSE mode
- Add StopTransactionReason parameter to stop() method signature
- Add comment explaining deleteConfiguration parameter usage in delete()
- Update interface and type names to match (MockChargingStationOptions/Result)
- Update JSDoc and file header to reflect mock terminology
tests/charging-station/ChargingStation.test.ts
tests/charging-station/ChargingStationTestUtils.ts