fix: pertes_generateur_ch_recup division par 1000 #154
Annotations
10 errors and 1 warning
|
Run unit tests with coverage:
test/open3cl-inertie.spec.js#L27
AssertionError: expected '3' to be '4' // Object.is equality
Expected: "4"
Received: "3"
❯ test/open3cl-inertie.spec.js:27:54
|
|
Run unit tests with coverage:
test/open3cl-inertie.spec.js#L27
AssertionError: expected '2' to be '3' // Object.is equality
Expected: "3"
Received: "2"
❯ test/open3cl-inertie.spec.js:27:54
|
|
Run unit tests with coverage:
test/test-helpers.js#L6
Error: ADEME_CLIENT_ID and ADEME_CLIENT_SECRET environment variables are not set !
❯ getAdemeFileJsonOrDownload test/test-helpers.js:6:11
❯ test/open3cl-coeff-1-9.spec.js:67:54
|
|
Run unit tests with coverage:
test/test-helpers.js#L6
Error: ADEME_CLIENT_ID and ADEME_CLIENT_SECRET environment variables are not set !
❯ getAdemeFileJsonOrDownload test/test-helpers.js:6:11
❯ test/open3cl-coeff-1-9.spec.js:47:54
|
|
Run unit tests with coverage:
test/test-helpers.js#L6
Error: ADEME_CLIENT_ID and ADEME_CLIENT_SECRET environment variables are not set !
❯ getAdemeFileJsonOrDownload test/test-helpers.js:6:11
❯ test/open3cl-coeff-1-9.spec.js:27:54
|
|
Run unit tests with coverage:
test/test-helpers.js#L6
Error: ADEME_CLIENT_ID and ADEME_CLIENT_SECRET environment variables are not set !
❯ getAdemeFileJsonOrDownload test/test-helpers.js:6:11
❯ test/open3cl-coeff-1-9.spec.js:7:54
|
|
Run unit tests with coverage:
src/utils.spec.js#L35
AssertionError: expected [ 1, 1.2 ] to strictly equal [ 1, 1 ]
- Expected
+ Received
[
1,
- 1,
+ 1.2,
]
❯ src/utils.spec.js:35:43
|
|
Run unit tests with coverage:
src/conso.spec.js#L88
AssertionError: expected NaN to be 6322.706407855126 // Object.is equality
- Expected
+ Received
- 6322.706407855126
+ NaN
❯ src/conso.spec.js:88:38
|
|
Run unit tests with coverage:
src/9_generateur_ch.spec.js#L84
AssertionError: expected { Object (rendement_generation, rg, ...) } to strictly equal { …(7) }
- Expected
+ Received
{
"conso_auxiliaire_generation_ch": 0,
"conso_auxiliaire_generation_ch_depensier": 0,
- "conso_ch": 6324.781622192915,
- "conso_ch_depensier": 7679.569278179351,
+ "conso_ch": 7875.454922822643,
+ "conso_ch_depensier": 9562.401564154807,
"rendement_generation": 1,
"rg": 1,
"rg_dep": 1,
}
❯ src/9_generateur_ch.spec.js:84:41
|
|
Run unit tests with coverage:
src/9_chauffage.js#L42
TypeError: Cannot read properties of undefined (reading 'emetteur_chauffage')
❯ calc_chauffage src/9_chauffage.js:42:50
❯ src/9_chauffage.spec.js:74:19
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Loading