skip leg cycle & alternatives integration tests

This commit is contained in:
Jannis R 2022-11-18 18:01:33 +01:00
parent 573f4ce6d7
commit 63013d8306
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
2 changed files with 22 additions and 17 deletions

View file

@ -195,15 +195,18 @@ tap.test('earlier/later journeys', async (t) => {
t.end()
})
tap.test('journeys leg cycle & alternatives', async (t) => {
await testLegCycleAlternatives({
test: t,
fetchJourneys: client.journeys,
fromId: tiergarten,
toId: jannowitzbrücke
if (!process.env.VCR_MODE) {
tap.test('journeys leg cycle & alternatives', async (t) => {
await testLegCycleAlternatives({
test: t,
fetchJourneys: client.journeys,
fromId: tiergarten,
toId: jannowitzbrücke
})
t.end()
})
t.end()
})
}
tap.test('refreshJourney', async (t) => {
await testRefreshJourney({
test: t,

View file

@ -191,16 +191,18 @@ tap.skip('earlier/later journeys, Jungfernheide -> München Hbf', async (t) => {
t.end()
})
tap.test('journeys leg cycle & alternatives', async (t) => {
await testLegCycleAlternatives({
test: t,
fetchJourneys: client.journeys,
fromId: blnTiergarten,
toId: blnJannowitzbrücke,
when,
if (!process.env.VCR_MODE) {
tap.test('journeys leg cycle & alternatives', async (t) => {
await testLegCycleAlternatives({
test: t,
fetchJourneys: client.journeys,
fromId: blnTiergarten,
toId: blnJannowitzbrücke,
when,
})
t.end()
})
t.end()
})
}
tap.test('refreshJourney', async (t) => {
await testRefreshJourney({