Skip to content

Commit a2b8968

Browse files
committed
refactor: remove unused variables
1 parent 4a9f533 commit a2b8968

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/proxy.test.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
const chai = require('chai');
22
const sinon = require('sinon');
33
const sinonChai = require('sinon-chai');
4-
const http = require('http');
5-
const https = require('https');
64
const fs = require('fs');
75

86
chai.use(sinonChai);
@@ -11,8 +9,6 @@ const { expect } = chai;
119
describe('Proxy Module TLS Certificate Loading', () => {
1210
let sandbox;
1311
let mockConfig;
14-
let httpCreateServerStub;
15-
let httpsCreateServerStub;
1612
let mockHttpServer;
1713
let mockHttpsServer;
1814
let proxyModule;
@@ -59,9 +55,6 @@ describe('Proxy Module TLS Certificate Loading', () => {
5955
}),
6056
};
6157

62-
httpCreateServerStub = sandbox.stub(http, 'createServer').returns(mockHttpServer);
63-
httpsCreateServerStub = sandbox.stub(https, 'createServer').returns(mockHttpsServer);
64-
6558
sandbox.stub(require('../src/plugin'), 'PluginLoader').returns(mockPluginLoader);
6659

6760
const configModule = require('../src/config');

0 commit comments

Comments
 (0)