This commit is contained in:
dangered wolf 2022-08-08 17:31:28 -04:00
parent 54c0f4463e
commit 35dbb7dc70
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -35,7 +35,7 @@ describe('handle', () => {
expect(tweet.url).toEqual('https://twitter.com/jack/status/20');
expect(tweet.id).toEqual('20');
expect(tweet.text).toEqual('just setting up my twttr');
expect(tweet.author.screen_name.toLowerCase()).toEqual('jack');
expect(tweet.author.screen_name?.toLowerCase()).toEqual('jack');
expect(tweet.author.name).toBeTruthy();
expect(tweet.author.avatar_url).toBeTruthy();
expect(tweet.author.banner_url).toBeTruthy();