]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
fix(tests): restore standardCleanup in SetVariables test
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 1 Mar 2026 00:54:48 +0000 (01:54 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 1 Mar 2026 00:54:48 +0000 (01:54 +0100)
tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-SetVariables.test.ts

index f9f21582efba8c70655efe89e3ada50c6199f591..4d0da501494a3c31b699c6e9d319284285864ad9 100644 (file)
@@ -27,6 +27,7 @@ import {
   SetVariableStatusEnumType,
 } from '../../../../src/types/index.js'
 import { Constants } from '../../../../src/utils/index.js'
+import { standardCleanup } from '../../../helpers/TestLifecycleHelpers.js'
 import {
   TEST_CHARGING_STATION_BASE_NAME,
   TEST_CONNECTOR_ID_VALID_INSTANCE,
@@ -65,6 +66,7 @@ await describe('B05 - Set Variables', async () => {
 
   // Reset singleton state after each test to ensure test isolation
   afterEach(() => {
+    standardCleanup()
     OCPP20VariableManager.getInstance().resetRuntimeOverrides()
   })