Commit graph

1156 commits

Author SHA1 Message Date
Jannis R
f9bfd6918a
parseJourneyLeg: parse jny.poly 🐛
fixes #186
2020-07-26 13:37:54 +02:00
Jannis R
a4dd763a46
E2E fixtures 2020-07-20 16:52:54 +02:00
Jannis R
dd88cea045
journeys E2E/integration tests: expect >=n results 2020-07-20 16:43:17 +02:00
Jannis R
2c04e2f728
journeys: async fn -> .then, don't check profile.journeysNumF 🐛 2020-07-20 16:42:51 +02:00
Jannis R
71db75df93
journeys: expose realtime data timestamp 2020-07-19 23:26:55 +02:00
Jannis R
51f4a66bd8
journeys: remove collection of results
Reverts 7fd574f.
See also https://github.com/public-transport/hafas-client/pull/23#issuecomment-370246163 .
2020-07-19 22:58:13 +02:00
Jannis R
5c05375650
let Git treat E2E test fixtures as binary data
This excludes the files from search and prevents unreadable diffs.

[ci skip]
2020-07-19 21:14:56 +02:00
Jannis R
c8928fb28d check in integration test fixtures 2020-06-15 15:39:09 +02:00
Jannis R
6f65d82edf document integration test workflow 📝
[ci skip]
2020-06-15 15:39:09 +02:00
Jannis R
3109a92b19 improve E2E tests assertion output 2020-06-15 15:39:09 +02:00
Jannis R
6b275171b1 parseMovement: skip invalid stopL[] items 🐛 2020-06-15 15:39:09 +02:00
Jannis R
5fd2c27a06 adapt E2E test to latest data 💚
also:
- skip RMV reachableFrom() E2E test 💚
2020-06-15 15:39:09 +02:00
Jannis R
d2314e0d40 journeys: don't send outDate/outTime & ctxScr 2020-06-15 15:39:09 +02:00
Jannis R
fea27d3a4a tests: make requests deterministic 💚 2020-06-15 15:39:09 +02:00
Jannis R
0c3acaba46 integration testing using replayer 2020-06-15 15:39:09 +02:00
Jannis R
51b3ca3c20 tape@5, remove tape-promise 2020-06-15 15:39:09 +02:00
Jannis R
3461573f31
changelog 📝, 5.6.2
[ci skip]
2020-06-13 00:11:01 +02:00
Jannis R
de896b1e96
parseCommon: respect opt.polyline 🐛
closes #181
2020-06-11 16:12:48 +02:00
Jannis R
fc2e214bb7
add ÖBB trip() test 2020-06-11 16:12:18 +02:00
Jannis R
dce42bfa31
move trip parsing into parse/trip 2020-06-11 15:34:20 +02:00
Jannis R
7c0be5ed74
tweak readme, changelog 📝, 5.6.1
[ci skip]
2020-06-10 15:08:47 +02:00
Jannis R
a8a9303e6f
nearby: return at most opt.results results 2020-06-10 15:00:49 +02:00
Jannis R
ee94c651dd
ÖBB: improve onCall product name 2020-06-10 14:59:20 +02:00
Julius Tens
57fc610a5f add tests for arrival parsing (db) 2020-06-09 18:02:33 +02:00
Julius Tens
3ca4a0c2b2 add provenance field on arrivals 2020-06-09 18:02:33 +02:00
Jannis R
542aa8caef parse DEVI journey legs 2020-05-31 12:38:07 +02:00
Jannis R
156de8e1c5
changelog 📝, 5.6.0
[ci skip]
2020-05-21 18:03:09 +02:00
Jannis R
322004bdcd
DB: stop.facilities.raw as non-enumerable property 2020-05-21 17:55:01 +02:00
Jannis R
240df85bf6
parseLocation: parse parent station 2020-05-21 17:51:25 +02:00
Jannis R
0251e314cc
DB parseLocation() test: expect sub-stops, facilities, foreign IDs 2020-05-21 17:51:25 +02:00
Jannis R
9e75f42346
DB: parse Reisezentrum opening hours & station facilities 2020-05-21 17:51:25 +02:00
Jannis R
d92eb154c2
parseLocation: give type: station to stops with stopLocL[] 2020-05-21 17:51:25 +02:00
Jannis R
1abafb5bd4
parseLocation: prevent endless recursive loops 2020-05-21 17:51:25 +02:00
Jannis R
76e310218a
parseLocation: parse entrances & sub-stops lists 2020-05-21 17:51:25 +02:00
Jannis R
07c77f8cf9
add subStops & entrances options 2020-05-21 17:51:25 +02:00
Jannis R
d98910a651
parseCommon: parse hints before locations 2020-05-21 17:51:25 +02:00
Jannis R
8fd72ca6f5
changelog 📝, 5.5.1
[ci skip]
2020-05-21 17:46:02 +02:00
Jannis R
b302ba75d2
minor readme/documentation tweaks 📝
- stop(): add `remarks: true` default
- journeys(): more intuitive options order
- readme: fix build status badge
2020-05-21 17:36:31 +02:00
Jannis R
e02a20b1de
readme: update links 📝
[ci skip]
2020-04-18 17:15:50 +02:00
Jannis R
3c888a0ea0
refreshJourney: actually throw the error 🐛, add code 2020-04-18 17:14:40 +02:00
Jannis R
87e5649f89
improve E2E test reliability 💚 2020-04-10 17:20:09 +02:00
Jannis R
0287899d1d
changelog 📝, 5.5.0
[ci skip]
2020-04-09 14:38:46 +02:00
Jannis R
0699d4d22e departures/arrivals: let results default to null
https://github.com/public-transport/hafas-client/pull/171#discussion_r397402352
2020-04-09 14:33:58 +02:00
Jannis R
9c4189a874 add E2E tests for SVV 2020-04-09 14:33:58 +02:00
Jannis R
fa3146d706 add SVV profile 2020-04-09 14:33:58 +02:00
Lukas Siemon
1b0133190f
object-scan@13 (improved performance)
closes #173
2020-04-09 01:00:45 +02:00
Jannis R
e032ec1acd
"invalid response" error: add isHafasError flag
So that consuming code can tell that this error is caused by an
invalid/unexpected response from HAFAS.
2020-04-01 19:03:38 +02:00
Jannis R
33d77868a4
changelog 📝, 5.4.0
[ci skip]
2020-03-29 13:57:35 +02:00
Jannis R
ae74bb420d departures/arrivals: add results option 2020-03-21 13:13:03 +01:00
Jannis Redmann
70c02199b2
Merge pull request #169 from public-transport/sncb-nmbs
add SNCB/NMBS profile
2020-03-19 13:06:41 +01:00