build: align imports sorting settings
[e-mobility-charging-stations-simulator.git] / ui / web / tests / unit / CSTable.spec.ts
CommitLineData
258a5c7f
JB
1import { shallowMount } from '@vue/test-utils';
2import CSTable from '@/components/charging-stations/CSTable.vue';
f27eb751 3import type { ChargingStationData } from '@/types/ChargingStationType';
01ff4231 4import { expect, test } from 'vitest';
258a5c7f 5
01ff4231
JB
6test('renders CS table columns name', () => {
7 const chargingStations: ChargingStationData[] = [];
8 const wrapper = shallowMount(CSTable, {
9 props: { chargingStations, idTag: '0' },
258a5c7f 10 });
01ff4231
JB
11 expect(wrapper.text()).to.include('Action');
12 expect(wrapper.text()).to.include('Connector');
13 expect(wrapper.text()).to.include('Status');
14 expect(wrapper.text()).to.include('Transaction');
15 expect(wrapper.text()).to.include('Name');
16 expect(wrapper.text()).to.include('Started');
17 expect(wrapper.text()).to.include('Registration Status');
18 expect(wrapper.text()).to.include('Vendor');
19 expect(wrapper.text()).to.include('Model');
20 expect(wrapper.text()).to.include('Firmware Version');
258a5c7f 21});