]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(tests): use inline type exports to fix Windows ESM compatibility
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 1 Mar 2026 23:04:02 +0000 (00:04 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 1 Mar 2026 23:04:02 +0000 (00:04 +0100)
commit3416cd2bf1200e8da6ce49936eaf12f32ddfe4fb
tree141ad1e6d77d4404a56ba96475253919287ab980
parentf3dd410532faa5fd2fb2f5e74e13628ff18bb34d
fix(tests): use inline type exports to fix Windows ESM compatibility

Consolidate separate 'export type' and 'export' re-exports into single
export block with inline 'type' keyword. This ensures proper ESM module
resolution on Windows where Node.js strictly validates named exports.

Reverts the workaround of splitting imports in OCPP20TestUtils.ts since
the root cause (improper re-export pattern) is now fixed at source.
tests/charging-station/ChargingStationTestUtils.ts
tests/charging-station/ocpp/2.0/OCPP20TestUtils.ts