mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
E2E/integration tests: tweak assertions ✅
This commit is contained in:
parent
5ff8527b60
commit
61fc2293fb
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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('/')}`,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue