chore: switch coding style to JS standard
[e-mobility-charging-stations-simulator.git] / ui / web / tests / unit / CSTable.spec.ts
index ab4abe346570f32d8debe159f00d1000cc81fb35..39c980c5d244ef1a0f954bcf1241b8ff6129064f 100644 (file)
@@ -1,22 +1,22 @@
-import { expect, test } from 'vitest';
-import { shallowMount } from '@vue/test-utils';
-import CSTable from '@/components/charging-stations/CSTable.vue';
-import type { ChargingStationData } from '@/types';
+import { expect, test } from 'vitest'
+import { shallowMount } from '@vue/test-utils'
+import CSTable from '@/components/charging-stations/CSTable.vue'
+import type { ChargingStationData } from '@/types'
 
 test('renders CS table columns name', () => {
-  const chargingStations: ChargingStationData[] = [];
+  const chargingStations: ChargingStationData[] = []
   const wrapper = shallowMount(CSTable, {
-    props: { chargingStations, idTag: '0' },
-  });
-  expect(wrapper.text()).to.include('Action');
-  expect(wrapper.text()).to.include('Connector');
-  expect(wrapper.text()).to.include('Status');
-  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');
-  expect(wrapper.text()).to.include('Firmware Version');
-});
+    props: { chargingStations, idTag: '0' }
+  })
+  expect(wrapper.text()).to.include('Action')
+  expect(wrapper.text()).to.include('Connector')
+  expect(wrapper.text()).to.include('Status')
+  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')
+  expect(wrapper.text()).to.include('Firmware Version')
+})