File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -740,7 +740,7 @@ describe('Client', () => {
740
740
741
741
// Proxy forwards all connections to TEST_PORT
742
742
const sockets = [ ] ;
743
- const proxy = net . createServer ( clientSocket => {
743
+ let proxy = net . createServer ( clientSocket => {
744
744
clientSocket . once ( 'data' , ( ) => {
745
745
const serverSocket = net . createConnection ( TEST_PORT , ( ) => {
746
746
clientSocket . write ( 'HTTP/1.1 200 OK\r\n\r\n' ) ;
@@ -2313,7 +2313,7 @@ describe('ManageChannelsClient', () => {
2313
2313
let requestsServed = 0;
2314
2314
const method = HTTP2_METHOD_POST;
2315
2315
const path = PATH_CHANNELS;
2316
- const proxyPort = TEST_PORT - 1;
2316
+ let proxyPort = TEST_PORT - 1;
2317
2317
2318
2318
server = createAndStartMockServer(TEST_PORT, (req, res, requestBody) => {
2319
2319
expect(req.headers).to.deep.equal({
You can’t perform that action at this time.
0 commit comments