]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
style(test): fix lint warnings in OCPP 2.0 ForceTxOnInvalid test
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 17 Jun 2026 17:22:45 +0000 (19:22 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 17 Jun 2026 17:22:45 +0000 (19:22 +0200)
commitbda42eb05c5a234441c6b154ecc970b52e86410c
treece731acccb0d09fd3053c68818f7e15f3dde9585
parente12ddd9945822e2e028c13f7fb079634219c5fe5
style(test): fix lint warnings in OCPP 2.0 ForceTxOnInvalid test

Three pre-existing post-merge warnings introduced by the squash-merge
of #1907 on the file:
`tests/charging-station/ocpp/2.0/OCPP20ResponseService-ForceTxOnInvalid.test.ts`

- Lines 67-68: `jsdoc/require-param-description` — fill the empty
  `@param idToken.idToken` and `@param idToken.type` sub-property
  descriptions auto-inserted by eslint-plugin-jsdoc.
- Line 298: `@cspell/spellchecker` — replace "remock" with "re-mock"
  (English-correct hyphenation, matches existing repo idioms like
  "re-entrant", "re-export").

Verification: pnpm lint exit 0 with 0 errors / 0 warnings; focused
`pnpm test` on the file: 16/16 GREEN (substring assertions unaffected).
tests/charging-station/ocpp/2.0/OCPP20ResponseService-ForceTxOnInvalid.test.ts