From: Jérôme Benoit Date: Wed, 31 Jul 2024 17:26:52 +0000 (+0200) Subject: test: add checkStationInfoConnectorStatus() test X-Git-Tag: ocpp-server@v1.5.2~152 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=dd81d27d043073971f29ec761261489f16c66541;p=e-mobility-charging-stations-simulator.git test: add checkStationInfoConnectorStatus() test Signed-off-by: Jérôme Benoit --- diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 73740318..7d84d23a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -179,8 +179,8 @@ importers: specifier: ^3.4.35 version: 3.4.35(typescript@5.5.4) vue-router: - specifier: ^4.4.0 - version: 4.4.0(vue@3.4.35(typescript@5.5.4)) + specifier: ^4.4.1 + version: 4.4.1(vue@3.4.35(typescript@5.5.4)) vue-toast-notification: specifier: ^3.1.2 version: 3.1.2(vue@3.4.35(typescript@5.5.4)) @@ -353,8 +353,8 @@ packages: resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} engines: {node: '>=6.9.0'} - '@babel/parser@7.25.0': - resolution: {integrity: sha512-CzdIU9jdP0dg7HdyB+bHvDJGagUv+qtzZt5rYCWwW6tITNqV9odjp6Qu41gkG0ca5UfdDUWrKkiAnHHdGRnOrA==} + '@babel/parser@7.25.3': + resolution: {integrity: sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==} engines: {node: '>=6.0.0'} hasBin: true @@ -380,8 +380,8 @@ packages: resolution: {integrity: sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.25.2': - resolution: {integrity: sha512-s4/r+a7xTnny2O6FcZzqgT6nE4/GHEdcqj4qAeglbUOh0TeglEfmNJFAd/OLoVtGd6ZhAO8GCVvCNUO5t/VJVQ==} + '@babel/traverse@7.25.3': + resolution: {integrity: sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==} engines: {node: '>=6.9.0'} '@babel/types@7.25.2': @@ -1214,8 +1214,8 @@ packages: typescript: optional: true - '@typescript-eslint/eslint-plugin@8.0.0-alpha.60': - resolution: {integrity: sha512-v/tFZrKwljflSlkUAVOCdwoIKObnS0JlxNgVDkRoUsJU896g4Uexz5/SWEAfNqJKB7AX6TjfmEHrzvPiJhUYMg==} + '@typescript-eslint/eslint-plugin@8.0.0-alpha.61': + resolution: {integrity: sha512-NzaLAb1VBPf0qj1n7/0SC4iEgr07FIgW5klbCfvqzh4Irgz/xJcd2flw334GeYn5JuMSvWbehroEeTYcmDcbzw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -1235,8 +1235,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.0.0-alpha.60': - resolution: {integrity: sha512-DPBVEb8742M9OgzRmtJxLC8FIhMqhYvJFjM+anUhSfqlAoRcpnvGOJU7F+mkLh1In8aIX4P8iarRHZ6r8NF2Ug==} + '@typescript-eslint/parser@8.0.0-alpha.61': + resolution: {integrity: sha512-r8hGIx4ybNgbUlADAMyNJ+LtOtM0FBRsWrJXu7QegUnnpMovB4AYMXH/2Lm+dT9omDkcTMz53XL5N2rb5V4HVQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1249,8 +1249,8 @@ packages: resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/scope-manager@8.0.0-alpha.60': - resolution: {integrity: sha512-r33PjZ7ypfza6hddc/Qg/0GVw4IAd5La+aTnQzOI1wM4f+tIK8umO5Z75+gevxcYfYVl4JLuwITGCQeEagNGNg==} + '@typescript-eslint/scope-manager@8.0.0-alpha.61': + resolution: {integrity: sha512-3LXDjk0utLJH0PMJnH9ZIoxnSftbnNZ2m6pzHXsK6m9FdXFswRUcVuMQ6D25IidDIpN61cIQUICRBoVIs+Nh/Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/type-utils@7.18.0': @@ -1263,8 +1263,8 @@ packages: typescript: optional: true - '@typescript-eslint/type-utils@8.0.0-alpha.60': - resolution: {integrity: sha512-Gg4zIEitCGHwMpc1nUIKhxS7735Em5AuBdl23eMupJcpWhOTlLiurvwIBBOX0tyh4nyjpE2BjbDDACEVR0Pl2g==} + '@typescript-eslint/type-utils@8.0.0-alpha.61': + resolution: {integrity: sha512-rhjF55fAKxJI90WMq6mZt67nop0+wU33ya12UqmTaG2NQEOGZYUbhOersMnv3/xIApGzTIC1gK0Zej2HUb/CpA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1276,8 +1276,8 @@ packages: resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/types@8.0.0-alpha.60': - resolution: {integrity: sha512-u38oNlelUVr7a8P0H3uyjNT36wLhmHVSVKcuCXYqMrm3AInz1/iY24YSR72M9AXL4lW+GDSUJAT8UfzHz6MzIg==} + '@typescript-eslint/types@8.0.0-alpha.61': + resolution: {integrity: sha512-/cdJX8rpk2K2glu+GcTlNhtVN4vEIilexD9ak5fC19i4zKdFQto2+Q9MBtNZ0s85Uafe2XS8KI2VoNfbTaL/vQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/typescript-estree@7.18.0': @@ -1289,8 +1289,8 @@ packages: typescript: optional: true - '@typescript-eslint/typescript-estree@8.0.0-alpha.60': - resolution: {integrity: sha512-+vYrFh7YFYv1M0l5fUZoqB4RlERfjC17NeO/enEJojmJuFKjJ/0c0FVUCdEelA9NGGdxxxf4SxJ76/sqceoXpg==} + '@typescript-eslint/typescript-estree@8.0.0-alpha.61': + resolution: {integrity: sha512-4vwQFtfcAkZ2plK+ypDXRlVwVZ4ITzPpeeLrIoZIvU1ctVwJhgVNC2rb6FaEAxkizXhgtLg3LpTcFSxCwOzD2g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1304,8 +1304,8 @@ packages: peerDependencies: eslint: ^8.56.0 - '@typescript-eslint/utils@8.0.0-alpha.60': - resolution: {integrity: sha512-2C2yDiyqx5VTasCcUmUB3AYRia8+oodCfungd8MJtIqTVa4XYB81rNhe1rtOtv8mwFFDjupKhXMC3pUJKWRtYw==} + '@typescript-eslint/utils@8.0.0-alpha.61': + resolution: {integrity: sha512-QGGHXhSa0NlCxbLKF7tO4HBnnnPCXESEKillB59u7T3o6MVqpJPgniYWvNYwklpfuiO8DCvdFkvS0ijMshTZyQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1314,8 +1314,8 @@ packages: resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/visitor-keys@8.0.0-alpha.60': - resolution: {integrity: sha512-2OdSvXlL5aabYl2VUrGzdYi/KTFm+tCkA0KusOpNO8vAqeRbfb/8V0qdr4SHxIaDju9cseoJWothUH8nP+g6Og==} + '@typescript-eslint/visitor-keys@8.0.0-alpha.61': + resolution: {integrity: sha512-7sadAvoAugg8LToN00GsoZdOf8KQAavpGPjOU6y9ug9N2Zr+S4cG048JMmbU7Q5K5NPIFkCTj2ePBoOx7m86yQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@ungap/structured-clone@1.2.0': @@ -5223,8 +5223,8 @@ packages: typescript: optional: true - typescript-eslint@8.0.0-alpha.60: - resolution: {integrity: sha512-5R6YrUeK9gBAX7O0iYhClGqXYM1SWoZOeTii1gdN3b55WhOWSyyu44o09cgn2BmqRUQKBrw+FzjHbQIk9vHWHA==} + typescript-eslint@8.0.0-alpha.61: + resolution: {integrity: sha512-oHRG8OASpIEUAHYCHC4qU+cWU7SX/VbCdDdw2THEAy7uOHFv2GN+H16stZpBAzV1oNRD+4QknHMf8LLyagOKdQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -5413,8 +5413,8 @@ packages: peerDependencies: eslint: '>=6.0.0' - vue-router@4.4.0: - resolution: {integrity: sha512-HB+t2p611aIZraV2aPSRNXf0Z/oLZFrlygJm+sZbdJaW6lcFqEDQwnzUBXn+DApw+/QzDU/I9TeWx9izEjTmsA==} + vue-router@4.4.1: + resolution: {integrity: sha512-njTLt/6gYGgIhv+U8nc5J6JpJpntFgy4fptRJ9Dp2qWQRo/PekB5DbKRYRPt0kM6feXysPKl7A5BjOmOJL5Ttw==} peerDependencies: vue: ^3.2.0 @@ -5672,9 +5672,9 @@ snapshots: '@babel/helper-compilation-targets': 7.25.2 '@babel/helper-module-transforms': 7.25.2(@babel/core@7.25.2) '@babel/helpers': 7.25.0 - '@babel/parser': 7.25.0 + '@babel/parser': 7.25.3 '@babel/template': 7.25.0 - '@babel/traverse': 7.25.2 + '@babel/traverse': 7.25.3 '@babel/types': 7.25.2 convert-source-map: 2.0.0 debug: 4.3.6 @@ -5711,14 +5711,14 @@ snapshots: '@babel/helper-optimise-call-expression': 7.24.7 '@babel/helper-replace-supers': 7.25.0(@babel/core@7.25.2) '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 - '@babel/traverse': 7.25.2 + '@babel/traverse': 7.25.3 semver: 7.6.3 transitivePeerDependencies: - supports-color '@babel/helper-member-expression-to-functions@7.24.8': dependencies: - '@babel/traverse': 7.25.2 + '@babel/traverse': 7.25.3 '@babel/types': 7.25.2 transitivePeerDependencies: - supports-color @@ -5729,7 +5729,7 @@ snapshots: '@babel/helper-module-imports@7.24.7': dependencies: - '@babel/traverse': 7.25.2 + '@babel/traverse': 7.25.3 '@babel/types': 7.25.2 transitivePeerDependencies: - supports-color @@ -5740,7 +5740,7 @@ snapshots: '@babel/helper-module-imports': 7.24.7 '@babel/helper-simple-access': 7.24.7 '@babel/helper-validator-identifier': 7.24.7 - '@babel/traverse': 7.25.2 + '@babel/traverse': 7.25.3 transitivePeerDependencies: - supports-color @@ -5755,20 +5755,20 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-member-expression-to-functions': 7.24.8 '@babel/helper-optimise-call-expression': 7.24.7 - '@babel/traverse': 7.25.2 + '@babel/traverse': 7.25.3 transitivePeerDependencies: - supports-color '@babel/helper-simple-access@7.24.7': dependencies: - '@babel/traverse': 7.25.2 + '@babel/traverse': 7.25.3 '@babel/types': 7.25.2 transitivePeerDependencies: - supports-color '@babel/helper-skip-transparent-expression-wrappers@7.24.7': dependencies: - '@babel/traverse': 7.25.2 + '@babel/traverse': 7.25.3 '@babel/types': 7.25.2 transitivePeerDependencies: - supports-color @@ -5791,7 +5791,7 @@ snapshots: js-tokens: 4.0.0 picocolors: 1.0.1 - '@babel/parser@7.25.0': + '@babel/parser@7.25.3': dependencies: '@babel/types': 7.25.2 @@ -5819,14 +5819,14 @@ snapshots: '@babel/template@7.25.0': dependencies: '@babel/code-frame': 7.24.7 - '@babel/parser': 7.25.0 + '@babel/parser': 7.25.3 '@babel/types': 7.25.2 - '@babel/traverse@7.25.2': + '@babel/traverse@7.25.3': dependencies: '@babel/code-frame': 7.24.7 '@babel/generator': 7.25.0 - '@babel/parser': 7.25.0 + '@babel/parser': 7.25.3 '@babel/template': 7.25.0 '@babel/types': 7.25.2 debug: 4.3.6 @@ -6566,7 +6566,7 @@ snapshots: '@stylistic/eslint-plugin-plus@2.6.0-beta.1(eslint@9.8.0)(typescript@5.5.4)': dependencies: '@types/eslint': 9.6.0 - '@typescript-eslint/utils': 8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4) eslint: 9.8.0 transitivePeerDependencies: - supports-color @@ -6576,7 +6576,7 @@ snapshots: dependencies: '@stylistic/eslint-plugin-js': 2.6.0-beta.1(eslint@9.8.0) '@types/eslint': 9.6.0 - '@typescript-eslint/utils': 8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4) eslint: 9.8.0 transitivePeerDependencies: - supports-color @@ -6733,14 +6733,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/eslint-plugin@8.0.0-alpha.60(@typescript-eslint/parser@8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@8.0.0-alpha.61(@typescript-eslint/parser@8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 8.0.0-alpha.60 - '@typescript-eslint/type-utils': 8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/utils': 8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.0.0-alpha.60 + '@typescript-eslint/parser': 8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0-alpha.61 + '@typescript-eslint/type-utils': 8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.0.0-alpha.61 eslint: 9.8.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -6764,12 +6764,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4)': + '@typescript-eslint/parser@8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/scope-manager': 8.0.0-alpha.60 - '@typescript-eslint/types': 8.0.0-alpha.60 - '@typescript-eslint/typescript-estree': 8.0.0-alpha.60(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.0.0-alpha.60 + '@typescript-eslint/scope-manager': 8.0.0-alpha.61 + '@typescript-eslint/types': 8.0.0-alpha.61 + '@typescript-eslint/typescript-estree': 8.0.0-alpha.61(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.0.0-alpha.61 debug: 4.3.6 eslint: 9.8.0 optionalDependencies: @@ -6782,10 +6782,10 @@ snapshots: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 - '@typescript-eslint/scope-manager@8.0.0-alpha.60': + '@typescript-eslint/scope-manager@8.0.0-alpha.61': dependencies: - '@typescript-eslint/types': 8.0.0-alpha.60 - '@typescript-eslint/visitor-keys': 8.0.0-alpha.60 + '@typescript-eslint/types': 8.0.0-alpha.61 + '@typescript-eslint/visitor-keys': 8.0.0-alpha.61 '@typescript-eslint/type-utils@7.18.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: @@ -6799,10 +6799,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/type-utils@8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4)': + '@typescript-eslint/type-utils@8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/typescript-estree': 8.0.0-alpha.60(typescript@5.5.4) - '@typescript-eslint/utils': 8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 8.0.0-alpha.61(typescript@5.5.4) + '@typescript-eslint/utils': 8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4) debug: 4.3.6 ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: @@ -6813,7 +6813,7 @@ snapshots: '@typescript-eslint/types@7.18.0': {} - '@typescript-eslint/types@8.0.0-alpha.60': {} + '@typescript-eslint/types@8.0.0-alpha.61': {} '@typescript-eslint/typescript-estree@7.18.0(typescript@5.5.4)': dependencies: @@ -6830,10 +6830,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.0.0-alpha.60(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@8.0.0-alpha.61(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 8.0.0-alpha.60 - '@typescript-eslint/visitor-keys': 8.0.0-alpha.60 + '@typescript-eslint/types': 8.0.0-alpha.61 + '@typescript-eslint/visitor-keys': 8.0.0-alpha.61 debug: 4.3.6 globby: 11.1.0 is-glob: 4.0.3 @@ -6856,12 +6856,12 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4)': + '@typescript-eslint/utils@8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0) - '@typescript-eslint/scope-manager': 8.0.0-alpha.60 - '@typescript-eslint/types': 8.0.0-alpha.60 - '@typescript-eslint/typescript-estree': 8.0.0-alpha.60(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0-alpha.61 + '@typescript-eslint/types': 8.0.0-alpha.61 + '@typescript-eslint/typescript-estree': 8.0.0-alpha.61(typescript@5.5.4) eslint: 9.8.0 transitivePeerDependencies: - supports-color @@ -6872,9 +6872,9 @@ snapshots: '@typescript-eslint/types': 7.18.0 eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.0.0-alpha.60': + '@typescript-eslint/visitor-keys@8.0.0-alpha.61': dependencies: - '@typescript-eslint/types': 8.0.0-alpha.60 + '@typescript-eslint/types': 8.0.0-alpha.61 eslint-visitor-keys: 3.4.3 '@ungap/structured-clone@1.2.0': {} @@ -6953,7 +6953,7 @@ snapshots: '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.2) '@babel/template': 7.25.0 - '@babel/traverse': 7.25.2 + '@babel/traverse': 7.25.3 '@babel/types': 7.25.2 '@vue/babel-helper-vue-transform-on': 1.2.2 '@vue/babel-plugin-resolve-type': 1.2.2(@babel/core@7.25.2) @@ -6971,12 +6971,12 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-module-imports': 7.22.15 '@babel/helper-plugin-utils': 7.24.8 - '@babel/parser': 7.25.0 + '@babel/parser': 7.25.3 '@vue/compiler-sfc': 3.4.35 '@vue/compiler-core@3.4.35': dependencies: - '@babel/parser': 7.25.0 + '@babel/parser': 7.25.3 '@vue/shared': 3.4.35 entities: 4.5.0 estree-walker: 2.0.2 @@ -6989,7 +6989,7 @@ snapshots: '@vue/compiler-sfc@3.4.35': dependencies: - '@babel/parser': 7.25.0 + '@babel/parser': 7.25.3 '@vue/compiler-core': 3.4.35 '@vue/compiler-dom': 3.4.35 '@vue/compiler-ssr': 3.4.35 @@ -9678,7 +9678,7 @@ snapshots: magicast@0.3.4: dependencies: - '@babel/parser': 7.25.0 + '@babel/parser': 7.25.3 '@babel/types': 7.25.2 source-map-js: 1.2.0 @@ -10039,7 +10039,7 @@ snapshots: find-up: 5.0.0 globals: 15.8.0 peowly: 1.3.2 - typescript-eslint: 8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4) + typescript-eslint: 8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4) transitivePeerDependencies: - supports-color - typescript @@ -11330,11 +11330,11 @@ snapshots: transitivePeerDependencies: - supports-color - typescript-eslint@8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4): + typescript-eslint@8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4): dependencies: - '@typescript-eslint/eslint-plugin': 8.0.0-alpha.60(@typescript-eslint/parser@8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/parser': 8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/utils': 8.0.0-alpha.60(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 8.0.0-alpha.61(@typescript-eslint/parser@8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/parser': 8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.0.0-alpha.61(eslint@9.8.0)(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: @@ -11539,7 +11539,7 @@ snapshots: transitivePeerDependencies: - supports-color - vue-router@4.4.0(vue@3.4.35(typescript@5.5.4)): + vue-router@4.4.1(vue@3.4.35(typescript@5.5.4)): dependencies: '@vue/devtools-api': 6.6.3 vue: 3.4.35(typescript@5.5.4) diff --git a/tests/charging-station/Helpers.test.ts b/tests/charging-station/Helpers.test.ts index 48c743b3..798763ba 100644 --- a/tests/charging-station/Helpers.test.ts +++ b/tests/charging-station/Helpers.test.ts @@ -6,6 +6,7 @@ import { expect } from 'expect' import { checkChargingStationState, checkConfiguration, + checkStationInfoConnectorStatus, checkTemplate, getChargingStationId, getHashId, @@ -20,6 +21,7 @@ import { type ChargingStationInfo, type ChargingStationTemplate, type ConnectorStatus, + ConnectorStatusEnum, type EvseStatus, OCPPVersion, } from '../../src/types/index.js' @@ -195,4 +197,14 @@ await describe('Helpers test suite', async () => { }).toThrow(new BaseError('Empty charging station configuration from file configuration.json')) expect(logger.error.mock.calls.length).toBe(2) }) + + await it('Verify checkStationInfoConnectorStatus()', t => { + t.mock.method(logger, 'warn') + checkStationInfoConnectorStatus(1, {} as ConnectorStatus, 'log prefix |', 'test-template.json') + expect(logger.warn.mock.calls.length).toBe(0) + const connectorStatus = { status: ConnectorStatusEnum.Available } as ConnectorStatus + checkStationInfoConnectorStatus(1, connectorStatus, 'log prefix |', 'test-template.json') + expect(logger.warn.mock.calls.length).toBe(1) + expect(connectorStatus.status).toBeUndefined() + }) }) diff --git a/ui/web/package.json b/ui/web/package.json index 630766a2..251900fd 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -30,7 +30,7 @@ "finalhandler": "^1.2.0", "serve-static": "^1.15.0", "vue": "^3.4.35", - "vue-router": "^4.4.0", + "vue-router": "^4.4.1", "vue-toast-notification": "^3.1.2" }, "devDependencies": {