-
Notifications
You must be signed in to change notification settings - Fork 52
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
Try to solve some timeout issue #586
Conversation
👋 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 labled with |
@wolfy1339 It seems the test only timeouts when it's always a 401 response. If it's eventually 200, the test will pass |
Looks like // src/hook.ts
const timeSinceTokenCreationInMs = +new Date() - +new Date(createdAt); |
|
I don't quite know how |
in this case, |
Looking at the log |
@gr2m Might know more |
Resolves #ISSUE_NUMBER
Split the test
handle 401 in first 5 seconds
to two separate tests.Try to fix errors in PR #580
Before the change?
After the change?
Pull request checklist
Does this introduce a breaking change?
Please see our docs on breaking changes to help!