Skip to content

Commit d7f049c

Browse files
committed
Update HTTPS test endpoint.
- api.github.com was immediately rate limited in workflow tests.
1 parent 64ac771 commit d7f049c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## 4.2.1 - 2025-xx-xx
44

55
### Fixed
6-
- Update HTTPS test endpoint from dead service to to api.github.com. May hit
7-
rate limits during testing.
6+
- Update HTTPS test endpoint from dead service to to github.com. May hit rate
7+
limits during testing.
88

99
## 4.2.0 - 2025-03-25
1010

tests/10-client-api.spec.common.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ describe('http-client API', () => {
4949
response.status.should.equal(200);
5050
});
5151

52-
// test HTTPS on api.github.com on node and browsers
52+
// test HTTPS on github.com on node and browsers
5353
// NOTE: might get rate limited
54-
it('can use HTTPS on api.github.com', async () => {
54+
it('can use HTTPS on github.com', async () => {
5555
let err;
5656
let response;
57-
const url = `https://api.github.com/repos/digitalbazaar/http-client`;
57+
const url = 'https://github.com/';
5858
try {
5959
response = await httpClient.get(url);
6060
} catch(e) {

0 commit comments

Comments
 (0)