]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor(ui-web): replace string literals with OCPP16ChargePointStatus enum in tests
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 30 Apr 2026 13:50:05 +0000 (15:50 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 30 Apr 2026 13:50:05 +0000 (15:50 +0200)
commitec16ef6c7c226193ab9090a7cd6f5edd60dd88d1
treec550f8a1976de9e77a40e4286543528f9e4d3f5d
parent99a793f304c8199339dab48b2492228e86d1dce0
refactor(ui-web): replace string literals with OCPP16ChargePointStatus enum in tests

Use enum constants instead of raw strings for connector status values
in test assertions and mock data for type safety and refactoring ease.
ui/web/tests/unit/shared/composables/stationStatus.test.ts
ui/web/tests/unit/skins/modern/ConnectorRow.test.ts