]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
test(charging-station): add lifecycle prototype test to validate mocking strategy
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 01:12:00 +0000 (02:12 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 01:12:00 +0000 (02:12 +0100)
commit74747d180208ae8a97dd0010e83f34f870a45a6c
tree7fc12d2b500d4ab07a61a94427153a901a404950
parent63dd1f623f59da14c0d5e3e7f5989d1b1c85849b
test(charging-station): add lifecycle prototype test to validate mocking strategy

- Create ChargingStation.test.ts with minimal test structure
- One test: validates station instantiation and start() state transition
- Uses createRealChargingStation() from test utilities
- Proper cleanup with afterEach hook
- BLOCKING validation passed - mocking strategy confirmed working
- Fix ESLint errors: proper ChargingStation type import
tests/charging-station/ChargingStation.test.ts [new file with mode: 0644]