]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(tests): add afterEach cleanup to RemoteStartAuth test
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 19:17:11 +0000 (20:17 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 19:17:11 +0000 (20:17 +0100)
commit024e8b4e109f64c0b4aa7c01cfdc31c29970fab8
treec6e69fc56fe926b4d5a9a30cdfd3450d93bbbc8e
parent64385f722c740cf323b70628e7d2244931099ba7
fix(tests): add afterEach cleanup to RemoteStartAuth test

- Added afterEach hook to clear mock references
- Prevents test pollution between test cases
- Only 1 file was missing cleanup (not 33 as initially audited)
- All 280 tests passing
tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-RemoteStartAuth.test.ts