backend/test/utils/translators/ldb/stationOutputs.ts
Fred Boniface 0e748d545e Begin adding tests for sanitizer
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-01 21:49:00 +01:00

40 lines
874 B
TypeScript

export const outputs: any[] = [
{
generatedAt: expect.any(Date),
locationName: "Railway Station",
stationManagerCode: "RT",
nrccMessages: [
{
severity: "minor",
xhtmlMessage: "Minor Alert"
}
],
trainServices: [
{
rid: "202308017159276",
uid: "G59276",
trainuid: "1M83",
operatorCode: "XC",
sta: expect.any(Date),
ata: expect.any(Date),
arrivalType: "Actual",
std: expect.any(Date),
etd: expect.any(Date),
departureType: "Estimated",
platform: "5",
origin: [
{
tiploc: "PLYMTH",
locationName: "Plymouth"
}
],
destination: [
{
tiploc: "BHAMNWS",
locationName: "Birmingham New Street"
}
]
}
]
},
]