chore: fix lint issues

This commit is contained in:
Peter Steinberger
2026-01-01 14:13:32 +01:00
parent f1663c8609
commit c78be5d1ea
12 changed files with 20 additions and 28 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { TwitterClient } from '../src/lib/twitter-client.js';
import type { TwitterClient } from '../src/lib/twitter-client.js';
export const validCookies = {
authToken: 'test_auth_token',
+1 -3
View File
@@ -172,9 +172,7 @@ describe('TwitterClient getTweet', () => {
const result = await client.getTweet('article123');
expect(result.success).toBe(true);
expect(result.tweet?.text).toBe(
'2025 LLM Year in Review\n\nIntro paragraph of the article.\n\nSecond paragraph.',
);
expect(result.tweet?.text).toBe('2025 LLM Year in Review\n\nIntro paragraph of the article.\n\nSecond paragraph.');
});
it('should fall back to user article timeline for plain text', async () => {
@@ -551,9 +551,7 @@ describe('TwitterClient bookmark folders', () => {
expect(result.success).toBe(true);
expect(mockFetch).toHaveBeenCalledTimes(2);
const firstVars = JSON.parse(
new URL(mockFetch.mock.calls[0][0] as string).searchParams.get('variables') as string,
);
const firstVars = JSON.parse(new URL(mockFetch.mock.calls[0][0] as string).searchParams.get('variables') as string);
const secondVars = JSON.parse(
new URL(mockFetch.mock.calls[1][0] as string).searchParams.get('variables') as string,
);