Add tests as a Docker build step to ensure no container with failing tests can be published

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface
2023-08-02 21:32:58 +01:00
parent ab2aa09861
commit 5504439ce0
5 changed files with 17 additions and 25 deletions

View File

@@ -1,4 +1,7 @@
export const outputs: any[] = [
import type { StaffLdb, NrccMessage, TrainServices,
ServiceLocation } from '@owlboard/ts-types';
export const outputs: StaffLdb[] = [
{
generatedAt: expect.any(Date),
locationName: "Railway Station",
@@ -25,13 +28,13 @@ export const outputs: any[] = [
origin: [
{
tiploc: "PLYMTH",
locationName: "Plymouth"
name: "Plymouth"
}
],
destination: [
{
tiploc: "BHAMNWS",
locationName: "Birmingham New Street"
name: "Birmingham New Street"
}
]
}