mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
fix ÖBB tests 💚
This commit is contained in:
parent
1349e9b8a0
commit
831672eeb9
1 changed files with 2 additions and 1 deletions
|
@ -258,7 +258,8 @@ test('Wien to Klagenfurt Hbf with stopover at Salzburg Hbf', co(function* (t) {
|
||||||
const salzburgHbf = '8100002'
|
const salzburgHbf = '8100002'
|
||||||
const [journey] = yield client.journeys(wien, klagenfurtHbf, {
|
const [journey] = yield client.journeys(wien, klagenfurtHbf, {
|
||||||
via: salzburgHbf,
|
via: salzburgHbf,
|
||||||
results: 1
|
results: 1,
|
||||||
|
when
|
||||||
})
|
})
|
||||||
|
|
||||||
const i1 = journey.legs.findIndex(leg => leg.destination.id === salzburgHbf)
|
const i1 = journey.legs.findIndex(leg => leg.destination.id === salzburgHbf)
|
||||||
|
|
Loading…
Add table
Reference in a new issue