X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Ftests%2Funit%2FCSTable.spec.ts;h=ab4abe346570f32d8debe159f00d1000cc81fb35;hb=40f00bc4654ed73a599573d84012c646b44366a6;hp=ca7bc931dfef25291044e5ac3f382e806329c51f;hpb=01ff4231d1a1640acdf12c0f2819f0c49456b218;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 ca7bc931..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 { expect, test } from 'vitest'; +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');