From 181745f19d9e66ae83684c2f8f3504c41d389877 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Tue, 26 Dec 2023 20:13:54 -0500 Subject: [PATCH] Fix tests --- motd.json | 2 +- src/providers/twitter/processor.ts | 2 +- test/worker.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/motd.json b/motd.json index 90bdbcd..7288f43 100644 --- a/motd.json +++ b/motd.json @@ -1,3 +1,3 @@ { - "FixTweet / FixupX": "https://github.com/FixTweet/FixTweet" + "FxTwitter / FixupX": "https://github.com/FixTweet/FxTwitter" } diff --git a/src/providers/twitter/processor.ts b/src/providers/twitter/processor.ts index a8e73f7..97c7f5d 100644 --- a/src/providers/twitter/processor.ts +++ b/src/providers/twitter/processor.ts @@ -49,7 +49,7 @@ export const buildAPITwitterStatus = async ( const graphQLUser = status.core.user_results.result; const apiUser = convertToApiUser(graphQLUser); - /* Sometimes, `rest_id` is undefined for some reason. Inconsistent behavior. See: https://github.com/FixTweet/FixTweet/issues/416 */ + /* Sometimes, `rest_id` is undefined for some reason. Inconsistent behavior. See: https://github.com/FixTweet/FxTwitter/issues/416 */ const id = status.rest_id ?? status.legacy.id_str; /* Populating a lot of the basics */ diff --git a/test/worker.test.ts b/test/worker.test.ts index df527c2..d647ca3 100644 --- a/test/worker.test.ts +++ b/test/worker.test.ts @@ -5,7 +5,7 @@ const humanHeaders = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36' }; -const githubUrl = 'https://github.com/FixTweet/FixTweet'; +const githubUrl = 'https://github.com/FixTweet/FxTwitter'; const twitterBaseUrl = 'https://twitter.com'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment