]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor(tests): split ChargingStation.test.ts into domain files
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 19:28:27 +0000 (20:28 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 19:28:27 +0000 (20:28 +0100)
commit14c732a96dfdbb173d958210384370eea66154af
tree7bda0be7ceadf8fcc39f1c09f88780c6a0a58da1
parent024e8b4e109f64c0b4aa7c01cfdc31c29970fab8
refactor(tests): split ChargingStation.test.ts into domain files

Split monolithic 2587-line test file into focused domain files:
- ChargingStation-Lifecycle.test.ts (225 lines) - start/stop/restart
- ChargingStation-Connectors.test.ts (578 lines) - connector ops
- ChargingStation-Transactions.test.ts (619 lines) - transaction handling
- ChargingStation-Configuration.test.ts (777 lines) - config management
- ChargingStation.test.ts (250 lines) - integration tests only

Total: 2449 lines across 5 files (was 2587 in 1 file)
All 268 tests passing
tests/charging-station/ChargingStation-Configuration.test.ts [new file with mode: 0644]
tests/charging-station/ChargingStation-Connectors.test.ts [new file with mode: 0644]
tests/charging-station/ChargingStation-Lifecycle.test.ts [new file with mode: 0644]
tests/charging-station/ChargingStation-Resilience.test.ts [new file with mode: 0644]
tests/charging-station/ChargingStation-Transactions.test.ts [new file with mode: 0644]
tests/charging-station/ChargingStation.test.ts