mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
skip leg cycle & alternatives integration tests ✅
This commit is contained in:
parent
573f4ce6d7
commit
63013d8306
2 changed files with 22 additions and 17 deletions
|
@ -195,15 +195,18 @@ tap.test('earlier/later journeys', async (t) => {
|
||||||
t.end()
|
t.end()
|
||||||
})
|
})
|
||||||
|
|
||||||
tap.test('journeys – leg cycle & alternatives', async (t) => {
|
if (!process.env.VCR_MODE) {
|
||||||
await testLegCycleAlternatives({
|
tap.test('journeys – leg cycle & alternatives', async (t) => {
|
||||||
test: t,
|
await testLegCycleAlternatives({
|
||||||
fetchJourneys: client.journeys,
|
test: t,
|
||||||
fromId: tiergarten,
|
fetchJourneys: client.journeys,
|
||||||
toId: jannowitzbrücke
|
fromId: tiergarten,
|
||||||
|
toId: jannowitzbrücke
|
||||||
|
})
|
||||||
|
t.end()
|
||||||
})
|
})
|
||||||
t.end()
|
}
|
||||||
})
|
|
||||||
tap.test('refreshJourney', async (t) => {
|
tap.test('refreshJourney', async (t) => {
|
||||||
await testRefreshJourney({
|
await testRefreshJourney({
|
||||||
test: t,
|
test: t,
|
||||||
|
|
|
@ -191,16 +191,18 @@ tap.skip('earlier/later journeys, Jungfernheide -> München Hbf', async (t) => {
|
||||||
t.end()
|
t.end()
|
||||||
})
|
})
|
||||||
|
|
||||||
tap.test('journeys – leg cycle & alternatives', async (t) => {
|
if (!process.env.VCR_MODE) {
|
||||||
await testLegCycleAlternatives({
|
tap.test('journeys – leg cycle & alternatives', async (t) => {
|
||||||
test: t,
|
await testLegCycleAlternatives({
|
||||||
fetchJourneys: client.journeys,
|
test: t,
|
||||||
fromId: blnTiergarten,
|
fetchJourneys: client.journeys,
|
||||||
toId: blnJannowitzbrücke,
|
fromId: blnTiergarten,
|
||||||
when,
|
toId: blnJannowitzbrücke,
|
||||||
|
when,
|
||||||
|
})
|
||||||
|
t.end()
|
||||||
})
|
})
|
||||||
t.end()
|
}
|
||||||
})
|
|
||||||
|
|
||||||
tap.test('refreshJourney', async (t) => {
|
tap.test('refreshJourney', async (t) => {
|
||||||
await testRefreshJourney({
|
await testRefreshJourney({
|
||||||
|
|
Loading…
Add table
Reference in a new issue