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:
co-authored by
Claude Opus 4.5
parent
da013664c8
commit
81f1229660
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user