E2E/integration tests: tweak assertions

This commit is contained in:
Jannis R 2022-11-09 18:25:04 +01:00
parent 5ff8527b60
commit 61fc2293fb
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ const cfg = {
products,
minLatitude: 50.7,
maxLatitude: 53.2,
minLongitude: 10.25,
minLongitude: 9, // considering e.g. IC 245
maxLongitude: 13.4
}

View file

@ -17,7 +17,7 @@ const testDepartures = async (cfg) => {
t.ok(
ids.includes(stop.id) ||
(stop.station && ids.includes(stop.station.id)),
name + '.id is invalid',
`${name}.id is invalid (${stop.id}), must be one of ${ids.join('/')}`,
)
}