From: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 00:32:19 +0000 (+0000) Subject: [autofix.ci] apply automated fixes X-Git-Tag: cli@v4.5.0~50 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=7961efa1f011f6801a8f6c82de3c35d270ef2c83;p=e-mobility-charging-stations-simulator.git [autofix.ci] apply automated fixes --- diff --git a/ui/cli/src/commands/ocpp.ts b/ui/cli/src/commands/ocpp.ts index 2536d482..4f46731a 100644 --- a/ui/cli/src/commands/ocpp.ts +++ b/ui/cli/src/commands/ocpp.ts @@ -77,15 +77,43 @@ export const createOcppCommands = (program: Command): Command => { const simpleOcppCommands: [string, string, ProcedureName][] = [ ['boot-notification', 'Send OCPP BootNotification', ProcedureName.BOOT_NOTIFICATION], - ['diagnostics-status-notification', 'Send OCPP DiagnosticsStatusNotification', ProcedureName.DIAGNOSTICS_STATUS_NOTIFICATION], - ['firmware-status-notification', 'Send OCPP FirmwareStatusNotification', ProcedureName.FIRMWARE_STATUS_NOTIFICATION], - ['get-15118-ev-certificate', 'Send OCPP Get15118EVCertificate', ProcedureName.GET_15118_EV_CERTIFICATE], - ['get-certificate-status', 'Send OCPP GetCertificateStatus', ProcedureName.GET_CERTIFICATE_STATUS], + [ + 'diagnostics-status-notification', + 'Send OCPP DiagnosticsStatusNotification', + ProcedureName.DIAGNOSTICS_STATUS_NOTIFICATION, + ], + [ + 'firmware-status-notification', + 'Send OCPP FirmwareStatusNotification', + ProcedureName.FIRMWARE_STATUS_NOTIFICATION, + ], + [ + 'get-15118-ev-certificate', + 'Send OCPP Get15118EVCertificate', + ProcedureName.GET_15118_EV_CERTIFICATE, + ], + [ + 'get-certificate-status', + 'Send OCPP GetCertificateStatus', + ProcedureName.GET_CERTIFICATE_STATUS, + ], ['heartbeat', 'Send OCPP Heartbeat', ProcedureName.HEARTBEAT], - ['log-status-notification', 'Send OCPP LogStatusNotification', ProcedureName.LOG_STATUS_NOTIFICATION], - ['notify-customer-information', 'Send OCPP NotifyCustomerInformation', ProcedureName.NOTIFY_CUSTOMER_INFORMATION], + [ + 'log-status-notification', + 'Send OCPP LogStatusNotification', + ProcedureName.LOG_STATUS_NOTIFICATION, + ], + [ + 'notify-customer-information', + 'Send OCPP NotifyCustomerInformation', + ProcedureName.NOTIFY_CUSTOMER_INFORMATION, + ], ['notify-report', 'Send OCPP NotifyReport', ProcedureName.NOTIFY_REPORT], - ['security-event-notification', 'Send OCPP SecurityEventNotification', ProcedureName.SECURITY_EVENT_NOTIFICATION], + [ + 'security-event-notification', + 'Send OCPP SecurityEventNotification', + ProcedureName.SECURITY_EVENT_NOTIFICATION, + ], ['sign-certificate', 'Send OCPP SignCertificate', ProcedureName.SIGN_CERTIFICATE], ['transaction-event', 'Send OCPP TransactionEvent', ProcedureName.TRANSACTION_EVENT], ] diff --git a/ui/cli/tests/config.test.ts b/ui/cli/tests/config.test.ts index 9bff41f2..ee4a19f3 100644 --- a/ui/cli/tests/config.test.ts +++ b/ui/cli/tests/config.test.ts @@ -3,7 +3,13 @@ import { mkdir, mkdtemp, rm, writeFile } from 'node:fs/promises' import { tmpdir } from 'node:os' import { join } from 'node:path' import { afterEach, beforeEach, describe, it } from 'node:test' -import { DEFAULT_HOST, DEFAULT_PORT, DEFAULT_PROTOCOL, DEFAULT_PROTOCOL_VERSION, DEFAULT_SECURE } from 'ui-common' +import { + DEFAULT_HOST, + DEFAULT_PORT, + DEFAULT_PROTOCOL, + DEFAULT_PROTOCOL_VERSION, + DEFAULT_SECURE, +} from 'ui-common' import { loadConfig } from '../src/config/loader.js'