]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(tests): sync mock signatures with real async implementations
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2026 15:44:28 +0000 (17:44 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2026 15:44:48 +0000 (17:44 +0200)
commit02ff5f5788a9205d56e049ac5c6303c81b78c021
treeabf377afe8f28bc0fa78714d7019328abc153a8f
parentd5efc6b1d19cdc40fe8fa37b0b0042d857a0da3a
fix(tests): sync mock signatures with real async implementations

Two mocks returned Promises from sync functions instead of using async,
mismatching the real method signatures of sendTransactionEvent and
requestHandler.
tests/charging-station/ocpp/2.0/OCPP20ServiceUtils-TransactionEvent.test.ts
tests/charging-station/ocpp/auth/adapters/OCPP20AuthAdapter.test.ts