Web UI: fix UT
[e-mobility-charging-stations-simulator.git] / src / ui / web / tests / unit / CSTable.spec.ts
index 96101802af16c3fa119f7ee0c28bc2f3cd3758b1..b6084d9c2c4f010b3f97e24e85577772ff6bd35b 100644 (file)
@@ -1,12 +1,16 @@
 import { expect } from 'chai';
 import { shallowMount } from '@vue/test-utils';
 import CSTable from '@/components/charging-stations/CSTable.vue';
-import type { ChargingStationData } from '@/type/ChargingStationType';
+import type { ChargingStationData } from '@/types/ChargingStationType';
 
 describe('CSTable.vue', () => {
   it('renders CS table columns name', () => {
     const chargingStations: Record<string, ChargingStationData> = {
-      '0': {} as unknown as ChargingStationData,
+      '0': {
+        stationInfo: {
+          hashId: '0',
+        },
+      } as unknown as ChargingStationData,
     };
     const wrapper = shallowMount(CSTable, {
       props: { chargingStations, idTag: '0' },