diff --git a/tests/twitter-client.engagement.test.ts b/tests/twitter-client.engagement.test.ts index e3cdd3c..d511e2c 100644 --- a/tests/twitter-client.engagement.test.ts +++ b/tests/twitter-client.engagement.test.ts @@ -69,13 +69,11 @@ describe('TwitterClient engagement', () => { }); it('retries on 404 with refreshed query IDs', async () => { - mockFetch - .mockResolvedValueOnce({ ok: false, status: 404, text: async () => 'Not found' }) - .mockResolvedValueOnce({ - ok: true, - status: 200, - json: async () => ({ data: { favorite_tweet: 'Done' } }), - }); + mockFetch.mockResolvedValueOnce({ ok: false, status: 404, text: async () => 'Not found' }).mockResolvedValueOnce({ + ok: true, + status: 200, + json: async () => ({ data: { favorite_tweet: 'Done' } }), + }); const client = new TwitterClient({ cookies: validCookies }); const result = await client.like('1234567890');