]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
refactor(test): remove more implementation history from comments
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 1 Mar 2026 01:42:59 +0000 (02:42 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 1 Mar 2026 01:42:59 +0000 (02:42 +0100)
tests/charging-station/ChargingStation.test.ts
tests/charging-station/ocpp/2.0/OCPP20ServiceUtils-TransactionEvent.test.ts
tests/charging-station/ocpp/2.0/OCPP20TestUtils.ts

index 9f86f080698f97a6be9382c8398f6ba349fc27d7..d1c0b6852a493a231d68cd1037dc3ce350dbbab4 100644 (file)
@@ -2,7 +2,7 @@
  * @file ChargingStation Integration Tests
  * @description Integration test suite that verifies all ChargingStation test modules work together.
  *
- * Domain-specific tests have been split into separate files:
+ * Related domain-specific test files:
  * - ChargingStation-Lifecycle.test.ts: start/stop/restart operations
  * - ChargingStation-Connectors.test.ts: connector and EVSE operations, reservations
  * - ChargingStation-Transactions.test.ts: transaction handling and energy meters
index 6bb7d539b0e08735dc37ed076cc114484e5a641e..d15bbdac435d5753b493cfa5e78d1f804f41bacf 100644 (file)
@@ -1,8 +1,8 @@
 /**
  * @file Tests for OCPP20ServiceUtils TransactionEvent
- * @description Consolidated unit tests for OCPP 2.0 TransactionEvent building and trigger reasons (E01-E04)
+ * @description Unit tests for OCPP 2.0 TransactionEvent building and trigger reasons (E01-E04)
  *
- * This file consolidates tests from multiple variant files:
+ * Covers:
  * - E01-E04 core TransactionEvent implementation
  * - E02 Cable-First flow (cable plug event sequencing)
  * - E03 IdToken-First flow (idToken presence in events)
index 9ce6b990c179c1d0137afb83dc15f95ed8304aff..4e3081684999ebb4bac67ab90fb6765d472bcbf6 100644 (file)
@@ -638,9 +638,8 @@ export interface MockCertificateManagerOptions {
 /**
  * Create a mock certificate manager for OCPP 2.0 certificate operation testing.
  *
- * This unified factory consolidates the previously duplicated createMockCertificateManager
- * functions from DeleteCertificate, InstallCertificate, CertificateSigned, and
- * GetInstalledCertificateIds test files.
+ * Configurable mock for DeleteCertificate, InstallCertificate, CertificateSigned,
+ * and GetInstalledCertificateIds operations.
  * @param options - Configuration options for mock behavior
  * @returns Mock certificate manager with configurable behavior
  * @example