From ef25f2d2906990ea963c6823a727edd9e2848d1e Mon Sep 17 00:00:00 2001 From: jonybang Date: Mon, 18 Dec 2023 16:55:04 +0000 Subject: [PATCH] fix fetchListTweets test --- src/tweets.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tweets.test.ts b/src/tweets.test.ts index 83e73fea..4c85da73 100644 --- a/src/tweets.test.ts +++ b/src/tweets.test.ts @@ -52,7 +52,7 @@ test('scraper can get tweets without logging in', async () => { expect(counter).toBeGreaterThanOrEqual(1); }); -test.only('scraper can get tweets without logging in', async () => { +test('scraper can get tweets from list', async () => { const scraper = await getScraper(); let cursor: string | undefined = undefined; @@ -64,7 +64,6 @@ test.only('scraper can get tweets without logging in', async () => { maxTweets, cursor, ); - console.log('res', res); expect(res.next).toBeTruthy();