From: Jérôme Benoit Date: Sun, 1 Mar 2026 00:54:48 +0000 (+0100) Subject: fix(tests): restore standardCleanup in SetVariables test X-Git-Tag: ocpp-server@v3.0.0~49 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=543ad7323ece59deeb3780c94c242f3440d0f1af;p=e-mobility-charging-stations-simulator.git fix(tests): restore standardCleanup in SetVariables test --- diff --git a/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-SetVariables.test.ts b/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-SetVariables.test.ts index f9f21582..4d0da501 100644 --- a/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-SetVariables.test.ts +++ b/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-SetVariables.test.ts @@ -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() })