adapt tests to latest data

This commit is contained in:
Jannis R 2022-12-28 14:16:04 +01:00
parent cea4439e11
commit 779e67886b
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -105,6 +105,6 @@ tape.test('/stations?query=frankfurt%20ha works', async (t) => {
for await (const station of parser) stations.push(station) for await (const station of parser) stations.push(station)
t.ok(stations.find(s => s.id === FRANKFURT_MAIN_HBF)) t.ok(stations.find(s => s.id === FRANKFURT_MAIN_HBF))
t.ok(Object.keys(stations).length > 0) t.ok(stations.length > 0)
} }
}) })