]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor(test): harmonize test file headers and fix async patterns
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 1 Mar 2026 21:38:38 +0000 (22:38 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 1 Mar 2026 21:38:38 +0000 (22:38 +0100)
commit23fe97146e9f2045470a9e4aee511dc08a23e111
treee4cfd53b61f0da0f84bcfb1b0b1c5608045f6cbd
parentaf75694d3f9b9cd1fea78573c4db424f14a319d5
refactor(test): harmonize test file headers and fix async patterns

- Remove copyright headers from test files (align with JSDoc-only)
- Replace copyright with JSDoc headers in helper/constant files
- Fix AsyncLock.test.ts Promise anti-pattern (proper async/await)
- Add magic number constants to ChargingStationTestConstants.ts
- Fix semantic duplication with TEST_ONE_HOUR_SECONDS
tests/charging-station/ChargingStationTestConstants.ts
tests/charging-station/ocpp/auth/helpers/MockFactories.ts
tests/charging-station/ocpp/auth/utils/ConfigValidator.test.ts
tests/charging-station/ui-server/UIHttpServer.test.ts
tests/charging-station/ui-server/UIServerTestConstants.ts
tests/charging-station/ui-server/UIServerTestUtils.ts
tests/charging-station/ui-server/ui-services/AbstractUIService.test.ts
tests/utils/AsyncLock.test.ts