From 779e67886bbaf550d52ff6c6e826bd7a866cf851 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Wed, 28 Dec 2022 14:16:04 +0100 Subject: [PATCH] =?UTF-8?q?adapt=20tests=20to=20latest=20data=20=E2=9C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index b4f7087..6ae296a 100644 --- a/test/index.js +++ b/test/index.js @@ -105,6 +105,6 @@ tape.test('/stations?query=frankfurt%20ha works', async (t) => { for await (const station of parser) stations.push(station) t.ok(stations.find(s => s.id === FRANKFURT_MAIN_HBF)) - t.ok(Object.keys(stations).length > 0) + t.ok(stations.length > 0) } })