]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(tests): remove non-null assertions in InstallCertificate test
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 20:03:12 +0000 (21:03 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 20:03:12 +0000 (21:03 +0100)
commita7ad79828059aa56acfd2fa91bdb1b0092b3234f
tree6b15de933a96fbee0e5e39853aca36d3a02a9338
parentd985df3330b67c0b6b6e99106b2f20c70caa553b
fix(tests): remove non-null assertions in InstallCertificate test

- Replace stationInfo! with stationInfo (safe - always initialized)
- Lines 188 and 203 in OCPP20IncomingRequestService-InstallCertificate.test.ts
- Reduces lint errors from 43 to 41 (2 errors fixed)
- All 291 tests still passing
tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-InstallCertificate.test.ts