From: Jérôme Benoit Date: Tue, 30 Aug 2022 11:04:53 +0000 (+0200) Subject: Web UI: fix UT X-Git-Tag: v1.1.69~9 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=0a4092a7f2c9364d1d12e6a9b32ce5454dbbd553;p=e-mobility-charging-stations-simulator.git Web UI: fix UT Signed-off-by: Jérôme Benoit --- diff --git a/src/ui/web/tests/unit/CSTable.spec.ts b/src/ui/web/tests/unit/CSTable.spec.ts index b77fab86..b6084d9c 100644 --- a/src/ui/web/tests/unit/CSTable.spec.ts +++ b/src/ui/web/tests/unit/CSTable.spec.ts @@ -6,7 +6,11 @@ import type { ChargingStationData } from '@/types/ChargingStationType'; describe('CSTable.vue', () => { it('renders CS table columns name', () => { const chargingStations: Record = { - '0': {} as unknown as ChargingStationData, + '0': { + stationInfo: { + hashId: '0', + }, + } as unknown as ChargingStationData, }; const wrapper = shallowMount(CSTable, { props: { chargingStations, idTag: '0' },