-
-
Notifications
You must be signed in to change notification settings - Fork 759
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: retries improvements * chore: improvements on retries * chore: improvements on retries * chore: add unit test * chore: format * chore: format * chore: format * fix: remove console
- Loading branch information
1 parent
5246b67
commit 22a9bc4
Showing
12 changed files
with
1,843 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.vscode | ||
.env | ||
.idea | ||
.lock | ||
deno.lock | ||
*.sh | ||
**/.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,9 @@ import { | |
} from "https://deno.land/[email protected]/assert/mod.ts"; | ||
import { | ||
assertSpyCalls, | ||
returnsNext, | ||
spy, | ||
stub, | ||
} from "https://deno.land/[email protected]/testing/mock.ts"; | ||
|
||
import { CONSTANTS } from "./src/utils.ts"; | ||
|
@@ -18,4 +20,12 @@ const soxa = new ServiceProvider({ | |
baseURL, | ||
}); | ||
|
||
export { assertEquals, assertRejects, assertSpyCalls, soxa, spy }; | ||
export { | ||
assertEquals, | ||
assertRejects, | ||
assertSpyCalls, | ||
returnsNext, | ||
soxa, | ||
spy, | ||
stub, | ||
}; |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"data": { | ||
"user": null | ||
}, | ||
"errors": [ | ||
{ | ||
"type": "NOT_FOUND", | ||
"path": [ | ||
"user" | ||
], | ||
"locations": [ | ||
{ | ||
"line": 2, | ||
"column": 5 | ||
} | ||
], | ||
"message": "Could not resolve to a User with the login of 'alekinho'." | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"exceeded": { | ||
"data": { | ||
"documentation_url": "https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits", | ||
"message": "You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID DBD8:FB98:31801A8:3222432:65195FDB." | ||
} | ||
}, | ||
"rate_limit": { | ||
"data": { | ||
"errors": [ | ||
{ | ||
"type": "RATE_LIMITED", | ||
"message": "API rate limit exceeded for user ID 10711649." | ||
} | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.
22a9bc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
github-profile-trophy – ./
github-profile-trophy-git-master-ryo-ma-s-team.vercel.app
github-profile-trophy-ryo-ma-s-team.vercel.app
github-profile-trophy.vercel.app