Skip to content

Commit

Permalink
chore: fix suspended profile test
Browse files Browse the repository at this point in the history
it seems 123 isn't suspended anymore 🤷
  • Loading branch information
catdevnull authored and karashiiro committed Apr 7, 2024
1 parent 504e8e9 commit 4ab9e49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/profile.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ test('scraper can get partial private profile', async () => {

test('scraper cannot get suspended profile', async () => {
const scraper = await getScraper();
expect(scraper.getProfile('123')).rejects.toThrow();
// taken from https://en.wikipedia.org/wiki/Twitter_suspensions#List_of_notable_suspensions
expect(scraper.getProfile('RobertC20041800')).rejects.toThrow();
});

test('scraper cannot get not found profile', async () => {
Expand Down

0 comments on commit 4ab9e49

Please sign in to comment.