mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix(tests): Get TLS version from Node instead of hardcoding it (#4700)
This commit is contained in:
committed by
Andrey Lushnikov
parent
bafda9fbe7
commit
a39d553511
@@ -46,7 +46,6 @@ class TestServer {
|
||||
const server = new TestServer(dirPath, port, {
|
||||
key: fs.readFileSync(path.join(__dirname, 'key.pem')),
|
||||
cert: fs.readFileSync(path.join(__dirname, 'cert.pem')),
|
||||
secureProtocol: 'TLSv1_2_method',
|
||||
passphrase: 'aaaa',
|
||||
});
|
||||
await new Promise(x => server._server.once('listening', x));
|
||||
|
||||
Reference in New Issue
Block a user