]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(tests): bind method reference in ClearCache test
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 20:05:21 +0000 (21:05 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 20:05:21 +0000 (21:05 +0100)
commitefeb46596faccf917c4ffc742da13e31f49cae2d
treefa542ad5732ef2c823940dd53da24446440d3aa0
parenta7ad79828059aa56acfd2fa91bdb1b0092b3234f
fix(tests): bind method reference in ClearCache test

- Use .bind() for deleteIdTags method reference (line 89)
- Ensures proper 'this' context when method is restored and called
- Reduces lint errors from 41 to 40 (1 error fixed)
- All 291 tests still passing
tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-ClearCache.test.ts