Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: switch to vitest #558

Merged
merged 4 commits into from
Sep 27, 2024
Merged

build: switch to vitest #558

merged 4 commits into from
Sep 27, 2024

Conversation

wolfy1339
Copy link
Member

@wolfy1339 wolfy1339 commented Sep 24, 2024

Resolves #ISSUE_NUMBER


Before the change?

  • Jest would cause problems with TypeScript compatibility
  • Jest would cause issues with ESM compat

After the change?

  • Use vitest that has better ESM + TypeScript compat

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@wolfy1339 wolfy1339 added the Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR label Sep 24, 2024
Copy link

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

Comment on lines +28 to 31
: /* v8 ignore next 4 */
await OAuthMethods.deleteAuthorization({
clientType: "github-app",
...optionsWithDefaults,
Copy link
Member Author

Choose a reason for hiding this comment

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

Due to this branch, coverage is not 100%

Comment on lines +28 to 31
: /* v8 ignore next 4 */
await OAuthMethods.deleteToken({
clientType: "github-app",
...optionsWithDefaults,
Copy link
Member Author

Choose a reason for hiding this comment

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

Due to this branch, coverage is not 100%

@wolfy1339
Copy link
Member Author

Tests need to be added for github-app for the deleteToken and deleteAuthorization methods in order to increase the coverage

@wolfy1339 wolfy1339 merged commit f14361c into main Sep 27, 2024
7 checks passed
@wolfy1339 wolfy1339 deleted the switch-vitest branch September 27, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants