]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(tests): remove stale optional chaining on now-required variableAttribute
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 15 Mar 2026 20:29:21 +0000 (21:29 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 15 Mar 2026 20:29:21 +0000 (21:29 +0100)
commit3d00af1582eb04b27c1e7ace50c1cc895b61d193
tree74d336ddf2b8a23ff512097a464b63a3b785e2c5
parent239142449447954d060cd47d7efd60877882a77e
fix(tests): remove stale optional chaining on now-required variableAttribute

ReportDataType.variableAttribute was made required in 429cdbe3 but
test files still used ?. and ?? [] on the field. The stale eslint
cache masked these errors locally; CI (no cache) correctly rejected.
tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-GetBaseReport.test.ts
tests/charging-station/ocpp/2.0/OCPP20RequestService-NotifyReport.test.ts