Skip to content

Commit 3356af6

Browse files
committed
chore: fix ci
Signed-off-by: dhmlau <dhmlau@ca.ibm.com>
1 parent 25080e7 commit 3356af6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/http-caching-proxy/src/__tests__/integration/http-caching-proxy.integration.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import {once} from 'node:events';
1414
import http from 'node:http';
1515
import {AddressInfo} from 'node:net';
1616
import path from 'node:path';
17+
import {URL} from 'node:url';
1718
import {rimraf} from 'rimraf';
1819
import tunnel, {ProxyOptions as TunnelProxyOptions} from 'tunnel';
19-
import {URL} from 'node:url';
2020
import {HttpCachingProxy, ProxyOptions} from '../../http-caching-proxy';
2121

2222
const CACHE_DIR = path.join(__dirname, '.cache');
@@ -86,11 +86,11 @@ describe('HttpCachingProxy', () => {
8686

8787
await givenRunningProxy();
8888
const result = await makeRequest({
89-
url: 'https://example.com',
89+
url: 'https://www.google.com',
9090
});
9191

9292
expect(result.statusCode).to.equal(200);
93-
expect(result.body).to.containEql('example');
93+
expect(result.body).to.match(/google/i);
9494
});
9595

9696
it('rejects CONNECT requests (HTTPS tunneling)', async () => {

0 commit comments

Comments
 (0)