]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(tests): restore ping() method and cleanup wsPingSetInterval
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 28 Feb 2026 23:59:52 +0000 (00:59 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 28 Feb 2026 23:59:52 +0000 (00:59 +0100)
commitdf60b612e9fb861597445d13886b88bac674b966
tree5c34539b17fdd43e0c9ba6ffe7f43594f3a6d034
parent98647fae65a0a23281c160bbd6be030ef7dc0073
fix(tests): restore ping() method and cleanup wsPingSetInterval

Fixes Windows CI hang caused by:
- Missing wsPingSetInterval cleanup in cleanupChargingStation()
- Removed ping()/pong() methods that ChargingStation.ts still calls

The WebSocket ping interval was never cleared during test cleanup,
keeping the Node.js event loop alive indefinitely on Windows.
tests/charging-station/helpers/StationHelpers.ts
tests/charging-station/mocks/MockWebSocket.ts