mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
BVG tests: drop opt.stopovers with departures(), skip test 💚
This commit is contained in:
parent
352fa2e564
commit
33c1dc3c7e
1 changed files with 3 additions and 3 deletions
|
@ -285,8 +285,7 @@ test('journeys: via works – with detour', async (t) => {
|
||||||
|
|
||||||
test('departures', async (t) => {
|
test('departures', async (t) => {
|
||||||
const departures = await client.departures(spichernstr, {
|
const departures = await client.departures(spichernstr, {
|
||||||
duration: 5, when,
|
duration: 5, when
|
||||||
stopovers: true
|
|
||||||
})
|
})
|
||||||
|
|
||||||
await testDepartures({
|
await testDepartures({
|
||||||
|
@ -334,7 +333,8 @@ test('departures at 7-digit station', async (t) => {
|
||||||
t.end()
|
t.end()
|
||||||
})
|
})
|
||||||
|
|
||||||
test('departures without related stations', async (t) => {
|
// todo: `opt.includeRelatedStations` is currently not supported by BVG
|
||||||
|
test.skip('departures without related stations', async (t) => {
|
||||||
await testDeparturesWithoutRelatedStations({
|
await testDeparturesWithoutRelatedStations({
|
||||||
test: t,
|
test: t,
|
||||||
fetchDepartures: client.departures,
|
fetchDepartures: client.departures,
|
||||||
|
|
Loading…
Add table
Reference in a new issue