]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(tests): prevent Windows CI hang by moving timer reset to test that enables it
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 1 Mar 2026 00:30:36 +0000 (01:30 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 1 Mar 2026 00:30:36 +0000 (01:30 +0100)
commitd467fe1ef2fab9e5af3b31dbf366a13da2149c1f
treed1eb0a7905f562cbd70d90cd93194d109b7a7ca4
parent80d452c12bece10159d768e6e02811cff0118d7d
fix(tests): prevent Windows CI hang by moving timer reset to test that enables it

- Remove mock.timers.reset() from standardCleanup()
- Add explicit mock.timers.reset() to Reset test afterEach
- Fix Reset test: wrap orphaned code into proper it() block
tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-Reset.test.ts
tests/helpers/TestLifecycleHelpers.ts