X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Ftests%2Funit%2FCSTable.spec.ts;h=ab4abe346570f32d8debe159f00d1000cc81fb35;hb=40f00bc4654ed73a599573d84012c646b44366a6;hp=36e91245f27ce463de1a7772ae858f50ab305b9c;hpb=cbac237384185b5debef0c1e8b21e96f730104e5;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/tests/unit/CSTable.spec.ts b/ui/web/tests/unit/CSTable.spec.ts index 36e91245..ab4abe34 100644 --- a/ui/web/tests/unit/CSTable.spec.ts +++ b/ui/web/tests/unit/CSTable.spec.ts @@ -1,7 +1,7 @@ import { expect, test } from 'vitest'; import { shallowMount } from '@vue/test-utils'; import CSTable from '@/components/charging-stations/CSTable.vue'; -import type { ChargingStationData } from '@/types/ChargingStationType'; +import type { ChargingStationData } from '@/types'; test('renders CS table columns name', () => { const chargingStations: ChargingStationData[] = []; @@ -14,6 +14,7 @@ test('renders CS table columns name', () => { expect(wrapper.text()).to.include('Transaction'); expect(wrapper.text()).to.include('Name'); expect(wrapper.text()).to.include('Started'); + expect(wrapper.text()).to.include('WebSocket State'); expect(wrapper.text()).to.include('Registration Status'); expect(wrapper.text()).to.include('Vendor'); expect(wrapper.text()).to.include('Model');