]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor(tests): split RequestStopTransaction tests into handler and listener groups
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 16 Mar 2026 17:39:51 +0000 (18:39 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 16 Mar 2026 17:39:51 +0000 (18:39 +0100)
commit64b8f8583a21569d84a67b367ed07bc4972976c9
tree953b3d3c4b68b618108944503109c22af0be1363
parent19fe6005b2e336cb02fb3d1f2d43846e2075ba60
refactor(tests): split RequestStopTransaction tests into handler and listener groups

Remove emitStopEvent helper with fragile setTimeout(50) hack.
Handler tests call handleRequestStopTransaction directly.
Listener tests use emit() directly, matching the TriggerMessage
test pattern. 1856 tests (+3 new listener-specific tests).
tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-RequestStopTransaction.test.ts