]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor(tests): use setupConnectorWithTransaction shared helper
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 2 Apr 2026 21:08:43 +0000 (23:08 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 2 Apr 2026 21:08:43 +0000 (23:08 +0200)
commit5690da477c2d6c2bd17c3fd4e95598f2fd39fd77
treec1c01640f02b3f5d152170238930ba941b48b5d3
parent1584ca620dadbb3ceff1bbad7a514bc7bb5970c3
refactor(tests): use setupConnectorWithTransaction shared helper

Replace 19 inline transaction setup patterns across 3 test
files with the shared setupConnectorWithTransaction helper.
Only migrates sites where both transactionStarted and
transactionId are set together.
tests/charging-station/ocpp/1.6/OCPP16IncomingRequestService-RemoteStartTransaction.test.ts
tests/charging-station/ocpp/1.6/OCPP16IncomingRequestService-Reset.test.ts
tests/charging-station/ocpp/2.0/OCPP20ServiceUtils-TransactionEvent.test.ts