Skip to content

Commit

Permalink
Switch test to use github.com
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi committed Jan 11, 2024
1 parent 6ba96be commit d3d1c6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/util/request.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('request', () => {
});

it('should fetch TiDev page', async () => {
const res = await request('https://tidev.io');
const res = await request('https://github.com');
await res.body.text();
assert.strictEqual(res.statusCode, 200);
});
Expand All @@ -38,7 +38,7 @@ describe('request', () => {
try {
ticonfig.set('cli.httpProxyServer', 'http://localhost:9999');

const res = await request('https://tidev.io');
const res = await request('https://github.com');
await res.body.text();
assert.strictEqual(res.statusCode, 200);
} finally {
Expand Down

0 comments on commit d3d1c6c

Please sign in to comment.