mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-31 23:21:18 +01:00
1483805f13151dab648188512b3f126f03fad9e5
Empty lines array caused fetchLineStatuses to build /Line//Status URL, resulting in a 404 from the TFL API. Now defaults to all lines when the array is empty. Also switches fetchStations to Promise.allSettled so individual line failures don't break the entire station fetch. Co-authored-by: Ona <no-reply@ona.com>
aelis
To install dependencies:
bun install
Packages
@aelis/source-tfl
TfL (Transport for London) feed source for tube, overground, and Elizabeth line alerts.
Testing
cd packages/aelis-source-tfl
bun run test
Fixtures
Tests use fixture data from real TfL API responses stored in fixtures/tfl-responses.json.
To refresh fixtures:
bun run fetch-fixtures
Description
Languages
TypeScript
97.1%
Shell
1.1%
CSS
0.9%
JavaScript
0.7%
Dockerfile
0.2%