Web UI: Fix NPE at template loading
[e-mobility-charging-stations-simulator.git] / src / ui / web / tests / unit / CSTable.spec.ts
index b6084d9c2c4f010b3f97e24e85577772ff6bd35b..b77fab86b9e1ba819edd20d067f3c59edb79105c 100644 (file)
@@ -6,11 +6,7 @@ import type { ChargingStationData } from '@/types/ChargingStationType';
 describe('CSTable.vue', () => {
   it('renders CS table columns name', () => {
     const chargingStations: Record<string, ChargingStationData> = {
-      '0': {
-        stationInfo: {
-          hashId: '0',
-        },
-      } as unknown as ChargingStationData,
+      '0': {} as unknown as ChargingStationData,
     };
     const wrapper = shallowMount(CSTable, {
       props: { chargingStations, idTag: '0' },