import type { ChargingStation } from '../../src/charging-station/ChargingStation.js'
-import { AvailabilityType, RegistrationStatusEnumType } from '../../src/types/index.js'
+import { RegistrationStatusEnumType } from '../../src/types/index.js'
import { cleanupChargingStation, createMockChargingStation } from './ChargingStationTestUtils.js'
// Alias for tests that reference createRealChargingStation
import type { ChargingStation } from '../../../src/charging-station/ChargingStation.js'
import type {
- ChargingStationConfiguration,
ChargingStationTemplate,
ConnectorStatus,
EvseStatus,
// FR: B08.FR.05
await it('Should return EmptyResultSet when no data is available', () => {
- // Create a charging station with minimal configuration
- const minimalChargingStation = createChargingStation({
- baseName: 'CS-MINIMAL',
- connectorsCount: 3,
- evseConfiguration: { evsesCount: 3 },
- ocppConfiguration: {
- configurationKey: [],
- },
- stationInfo: {
- ocppStrictCompliance: false,
- ocppVersion: OCPPVersion.VERSION_201,
- },
- })
+ // Create a charging station with minimal configuration
const request: OCPP20GetBaseReportRequest = {
reportBase: ReportBaseEnumType.ConfigurationInventory,
AttributeEnumType,
GetVariableStatusEnumType,
OCPP20ComponentName,
- type OCPP20GetVariableDataType,
type OCPP20GetVariableResultType,
OCPP20OptionalVariableName,
OCPP20RequiredVariableName,
import {
createTestableRequestService,
- type TestableOCPP20RequestService,
} from '../../../../src/charging-station/ocpp/2.0/__testable__/index.js'
-import { OCPP20RequestService } from '../../../../src/charging-station/ocpp/2.0/OCPP20RequestService.js'
-import { OCPP20ResponseService } from '../../../../src/charging-station/ocpp/2.0/OCPP20ResponseService.js'
import {
AttributeEnumType,
DataEnumType,