Skip to content

fix: jest edits and some methods returning no tweet(s). - #24

Merged
karashiiro merged 1 commit into
the-convocation:mainfrom
Owen3H:main
Jul 10, 2023
Merged

fix: jest edits and some methods returning no tweet(s).#24
karashiiro merged 1 commit into
the-convocation:mainfrom
Owen3H:main

Conversation

@Owen3H

@Owen3H Owen3H commented Jul 10, 2023

Copy link
Copy Markdown
Contributor
  • fixed fetchTweets returning an empty array lol :]
  • remove deprecation warning by using JestConfigWithTsJest
  • allow jest to use local .env file by providing dotenv to config.
  • make email variable optional when running auth test.

- remove deprecation warning by using `JestConfigWithTsJest`
- allow jest to use local .env file by providing `dotenv` to config.
- make email variable optional when running auth test.
- fixed fetchTweets returning an empty array lol :]
@Owen3H Owen3H changed the title fix: jest auth and methods returning no tweet(s). fix: jest edits and some methods returning no tweet(s). Jul 10, 2023
Comment thread src/timeline-v2.ts
}

return { tweets: [], next: cursor };
return { tweets, next: cursor };

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops

@karashiiro
karashiiro merged commit 72f4b63 into the-convocation:main Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants