Skip to content

Commit 7727d1e

Browse files
committed
nit
1 parent 55adff1 commit 7727d1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ describe('Client', () => {
740740

741741
// Proxy forwards all connections to TEST_PORT
742742
const sockets = [];
743-
const proxy = net.createServer(clientSocket => {
743+
let proxy = net.createServer(clientSocket => {
744744
clientSocket.once('data', () => {
745745
const serverSocket = net.createConnection(TEST_PORT, () => {
746746
clientSocket.write('HTTP/1.1 200 OK\r\n\r\n');
@@ -2313,7 +2313,7 @@ describe('ManageChannelsClient', () => {
23132313
let requestsServed = 0;
23142314
const method = HTTP2_METHOD_POST;
23152315
const path = PATH_CHANNELS;
2316-
const proxyPort = TEST_PORT - 1;
2316+
let proxyPort = TEST_PORT - 1;
23172317
23182318
server = createAndStartMockServer(TEST_PORT, (req, res, requestBody) => {
23192319
expect(req.headers).to.deep.equal({

0 commit comments

Comments
 (0)