]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor(tests): fix TypeScript errors in auth and variable manager tests
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 28 Feb 2026 20:02:51 +0000 (21:02 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 28 Feb 2026 20:02:51 +0000 (21:02 +0100)
commit2ac610b112eff9c01dcfce2d4511183d033fb5d5
treed6810fb1f53537b3ed0c71cd52f7c911824a46f8
parentd6c6fcfc2de964a19b56f0d81675e8aa59393f2c
refactor(tests): fix TypeScript errors in auth and variable manager tests

- Fixed OCPPAuthIntegration.test.ts to use createMockChargingStation with destructuring
- Corrected import path in AuthComponentFactory.test.ts (../../../../ → ../../../)
- Fixed OCPP20VariableManager.test.ts type errors by properly extracting .station property
- All 291 tests passing
- Zero migration-related TypeScript compilation errors

Task 9 complete
tests/charging-station/ocpp/2.0/OCPP20VariableManager.test.ts
tests/charging-station/ocpp/auth/OCPPAuthIntegration.test.ts
tests/charging-station/ocpp/auth/factories/AuthComponentFactory.test.ts