X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fui%2Fweb%2Ftests%2Funit%2FCSTable.spec.ts;h=6b13495ae3422a9209f7d6a77923e4316d8838bb;hb=dba1b6eebfbfb001cf6d9c6447b78a8161e670b7;hp=570c9f1fb066f675c139820b7be54952a7a241a2;hpb=452a82cadd0f08148f5f3d5e5b78fa6cac9da0a7;p=e-mobility-charging-stations-simulator.git diff --git a/src/ui/web/tests/unit/CSTable.spec.ts b/src/ui/web/tests/unit/CSTable.spec.ts index 570c9f1f..6b13495a 100644 --- a/src/ui/web/tests/unit/CSTable.spec.ts +++ b/src/ui/web/tests/unit/CSTable.spec.ts @@ -5,9 +5,7 @@ import type { ChargingStationData } from '@/types/ChargingStationType'; describe('CSTable.vue', () => { it('renders CS table columns name', () => { - const chargingStations: Record = { - '0': {} as unknown as ChargingStationData, - }; + const chargingStations: ChargingStationData[] = []; const wrapper = shallowMount(CSTable, { props: { chargingStations, idTag: '0' }, });