-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: cache GitHub API requests by full URL (#65)
Cache GitHub API requests based on the URL fetched and not the passed in target. Also extends tests to cover caching for the non-GitHub API. Update test URLs to use domains reserved for testing [1]. Clear the cache after every test. [1] https://www.rfc-editor.org/rfc/rfc2606.html
- Loading branch information
1 parent
d972bca
commit ada7116
Showing
2 changed files
with
48 additions
and
10 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
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