]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(test-isolation): make OCPP20VariableManager tests self-contained
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 28 Feb 2026 17:13:24 +0000 (18:13 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 28 Feb 2026 17:13:24 +0000 (18:13 +0100)
commit413595441278a30f6150f3f42e05775a5537e805
tree966444798e605f433ca597f7e1d92dcab062e2b9
parent1a91a64fdb3c76a5cbdac8d3d9effb7849a8b86a
fix(test-isolation): make OCPP20VariableManager tests self-contained

- FileTransferProtocols: init config key via getVariables first
- OrganizationName: set value explicitly instead of relying on previous test

Each test initializes its own state via fresh mockChargingStation from beforeEach.
Fixes Windows CI failure caused by test execution order assumptions.
tests/charging-station/ocpp/2.0/OCPP20VariableManager.test.ts