diff --git a/parse/trip.js b/parse/trip.js index ca5936a1..bf35afbd 100644 --- a/parse/trip.js +++ b/parse/trip.js @@ -27,7 +27,7 @@ const parseTrip = (ctx, t) => { // t = raw trip const trip = profile.parseJourneyLeg(ctx, fakeLeg, date) trip.id = trip.tripId delete trip.tripId - // todo [breaking]: delete trip.reachable + delete trip.reachable if (opt.scheduledDays) { const nrOfStopovers = t.stopL.length diff --git a/test/fixtures/bvg-trip-with-occupancy.js b/test/fixtures/bvg-trip-with-occupancy.js index 873727f8..6a16a9f5 100644 --- a/test/fixtures/bvg-trip-with-occupancy.js +++ b/test/fixtures/bvg-trip-with-occupancy.js @@ -3,7 +3,6 @@ module.exports = { id: '1|6849|3|86|1112021', direction: 'S Ostbahnhof via S+U Wedding', - reachable: true, line: { type: 'line', id: '147', diff --git a/test/fixtures/oebb-trip.js b/test/fixtures/oebb-trip.js index 480d7c47..5bc7b1f3 100644 --- a/test/fixtures/oebb-trip.js +++ b/test/fixtures/oebb-trip.js @@ -108,7 +108,6 @@ module.exports = { plannedDeparture: '2020-06-11T16:33:00+02:00', departureDelay: null, departurePrognosisType: 'prognosed', - reachable: true, line: { type: 'line', id: 'rj-742', diff --git a/test/fixtures/rejseplanen-trip.js b/test/fixtures/rejseplanen-trip.js index acf7610c..d11d4729 100644 --- a/test/fixtures/rejseplanen-trip.js +++ b/test/fixtures/rejseplanen-trip.js @@ -1,7 +1,6 @@ 'use strict' module.exports = { - reachable: true, // todo: drop this field id: '1|307|4|86|12102021', direction: 'CPH Lufthavn', currentLocation: { diff --git a/test/fixtures/vbb-on-demand-trip.js b/test/fixtures/vbb-on-demand-trip.js index 377978f8..87c94252 100644 --- a/test/fixtures/vbb-on-demand-trip.js +++ b/test/fixtures/vbb-on-demand-trip.js @@ -19,7 +19,6 @@ module.exports = { name: 'Verkehrsgesellschaft Teltow-Fläming mbH' }, }, - reachable: true, origin: {}, departure: null,