style: format engagement test file

Fix biome formatting for mock chain.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
the-vampiire
2026-06-24 18:44:38 +09:00
committed by yuta
co-authored by Claude Opus 4.5
parent da013664c8
commit 81f1229660
+5 -7
View File
@@ -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');