]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
test: remove 24 tautological enum value assertion tests
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 13 Mar 2026 16:29:36 +0000 (17:29 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 13 Mar 2026 16:29:36 +0000 (17:29 +0100)
commitba22a74942941bb9f113fd31836d5cc2bab7576d
treec4685a750b9d429071dcfcf81daec1bfd56fc2ce
parent4735e873cc864056ece2f7c80978d1ea5f3f7d4b
test: remove 24 tautological enum value assertion tests

Remove tests that assert compile-time constant enum values (e.g.
EnumName.MEMBER === 'hardcodedString'), which always pass by definition
and exercise no production code.

- Delete ConfigurationData.test.ts (3 tautological tests)
- Remove ProcedureName/BroadcastChannelProcedureName enum groups (16 tests)
- Remove AuthTypes Enums block (4 tests)
- Remove OutputFormat enum test (1 test)
- Fix assert.strictEqual(true, false) to assert.fail() in OCPPAuthServiceFactory

All quality gates pass. Coverage unchanged (1800 tests, 0 failures).
tests/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.test.ts
tests/charging-station/ocpp/auth/services/OCPPAuthServiceFactory.test.ts
tests/charging-station/ocpp/auth/types/AuthTypes.test.ts
tests/types/ConfigurationData.test.ts [deleted file]
tests/utils/ChargingStationConfigurationUtils.test.ts